diff options
Diffstat (limited to 'games/gnurobbo/Makefile')
-rw-r--r-- | games/gnurobbo/Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/games/gnurobbo/Makefile b/games/gnurobbo/Makefile index 8ad589601680..fdbedecc14ec 100644 --- a/games/gnurobbo/Makefile +++ b/games/gnurobbo/Makefile @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= gnurobbo -PORTVERSION= 0.66 -PORTREVISION= 4 +PORTVERSION= 0.68 CATEGORIES= games MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}%20${PORTVERSION:C/^([0-9]+\.[0-9]+)\..*$/\1/}/ EXTRACT_SUFX= -source.tar.gz @@ -22,12 +21,13 @@ PLIST_FILES= bin/${PORTNAME} PORTDOCS= * PORTDATA= * +WRKSRC= ${WRKDIR}/${DISTNAME}/${PORTNAME} + OPTIONS_DEFINE= DOCS post-patch: - @${REINPLACE_CMD} -e '/define DEBUG_DUMP_VM_USAGE/ d' ${WRKSRC}/game.c - @${REINPLACE_CMD} -e '/^install:/,$$ s|$$([A-Z_]*DIR)|${STAGEDIR}&| g' \ - -e '/^LIBS=/s/$$/ -lm/' \ + @${REINPLACE_CMD} -e '/^install:/,$$ s|$$([A-Z_]*DIR)|$${DESTDIR}&| g' \ + -e '/^CFLAGS/s/-d//' \ ${WRKSRC}/Makefile post-install: |