diff --git a/sysutils/ods2/Makefile b/sysutils/ods2/Makefile index 174b99d60574..87f77fac6820 100644 --- a/sysutils/ods2/Makefile +++ b/sysutils/ods2/Makefile @@ -1,33 +1,37 @@ PORTNAME= ods2 PORTVERSION= 1.3 PORTREVISION= 1 CATEGORIES= sysutils -MASTER_SITES= http://www.lugs.ch/~dussuett/ +MASTER_SITES= LOCAL/fuz DISTNAME= ods2 MAINTAINER= pzn.unixbsd@gmail.com COMMENT= Utility for manipulating ODS-2 filesystems WWW= https://www.goatley.com/hunter/ +LICENSE= ODS2 +LICENSE_NAME= ODS2 +LICENSE_TEXT= ODS2 is distributed freely for all members of the \ + VMS community to use. However all derived works \ + must maintain comments in their source to acknowledge \ + the contibution of the original author. +LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept + USES= zip NO_WRKSUBDIR= yes MAKEFILE= makefile.unix MAKE_ARGS= CCFLAGS="${CFLAGS}" PLIST_FILES= sbin/ods2 PORTDOCS= aareadme.too aareadme.txt OPTIONS_DEFINE= DOCS -post-patch: - @${REINPLACE_CMD} -e 's|cc |${CC} |; /-oods2/ s|vmstime\.o|& -lcompat|' \ - ${WRKSRC}/${MAKEFILE} - do-install: ${INSTALL_PROGRAM} ${WRKSRC}/ods2 ${STAGEDIR}${PREFIX}/sbin do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} .include diff --git a/sysutils/ods2/files/patch-makefile.unix b/sysutils/ods2/files/patch-makefile.unix new file mode 100644 index 000000000000..13f4cffac11d --- /dev/null +++ b/sysutils/ods2/files/patch-makefile.unix @@ -0,0 +1,11 @@ +--- makefile.unix.orig 2001-09-27 00:40:14 UTC ++++ makefile.unix +@@ -6,7 +6,7 @@ ods2 : ods2.o rms.o direct.o update.o access.o device. + all : ods2 + + ods2 : ods2.o rms.o direct.o update.o access.o device.o phyunix.o cache.o vmstime.o +- cc $(CCFLAGS) -oods2 ods2.o rms.o direct.o update.o access.o device.o phyunix.o cache.o vmstime.o ++ $(CC) $(CCFLAGS) -oods2 ods2.o rms.o direct.o update.o access.o device.o phyunix.o cache.o vmstime.o -lcompat -lutil + + vmstime.o : vmstime.c vmstime.h + cc -c $(CCFLAGS) $(DEFS) vmstime.c