diff options
Diffstat (limited to 'emulators/cpmtools2/Makefile')
-rw-r--r-- | emulators/cpmtools2/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/emulators/cpmtools2/Makefile b/emulators/cpmtools2/Makefile index ab0f7c95c1fe..03f1cf806df9 100644 --- a/emulators/cpmtools2/Makefile +++ b/emulators/cpmtools2/Makefile @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= cpmtools2 -PORTVERSION= 2.19 -PORTREVISION= 2 +PORTVERSION= 2.20 CATEGORIES= emulators sysutils MASTER_SITES= http://www.moria.de/~michael/cpmtools/files/ DISTNAME= ${PORTNAME:C/2$//}-${PORTVERSION} @@ -32,8 +31,11 @@ LIBDSK_LIB_DEPENDS= libdsk.so:${PORTSDIR}/emulators/libdsk post-patch: @${REINPLACE_CMD} -e 's|getopt$$(OBJEXT)||g; s|getopt1$$(OBJEXT)||g' \ -e 's|\($$(CC).*fsed.cpm$$(OBJEXT).*$$(DEVICEOBJ)\)|\1 -lcurses|' \ + -e '/^CFLAGS=/s|@CFLAGS@|@CFLAGS@ -DDISKDEFS=\\"@datarootdir@/diskdefs\\" -DFORMAT=\\"$$(DEFFORMAT)\\"|' \ -e 's|diskdefs @datarootdir@/diskdefs|diskdefs $$(DESTDIR)@datarootdir@/diskdefs|' \ ${WRKSRC}/Makefile.in + @${REINPLACE_CMD} -e 's|\(FSED_CPM=fsed.cpm\) LIBS=\"-lcurses $$LIBS\"|\1|' \ + ${WRKSRC}/configure pre-install: @${MKDIR} ${STAGEDIR}${DATADIR} |