diff options
author | alepulver <alepulver@FreeBSD.org> | 2008-08-13 07:43:09 +0800 |
---|---|---|
committer | alepulver <alepulver@FreeBSD.org> | 2008-08-13 07:43:09 +0800 |
commit | bf5d6f969cf540cecf9335f770890167e58a2751 (patch) | |
tree | 2960290f8e54e0dbf0732519dfb3539cad6a219d /games/warzone2100/Makefile | |
parent | 64f4c113266f35886f835c8f6dde6a0b777933e2 (diff) | |
download | freebsd-ports-gnome-bf5d6f969cf540cecf9335f770890167e58a2751.tar.gz freebsd-ports-gnome-bf5d6f969cf540cecf9335f770890167e58a2751.tar.zst freebsd-ports-gnome-bf5d6f969cf540cecf9335f770890167e58a2751.zip |
- Never install unneeded docs, and fix with NOPORTDOCS.
Reported by: QA Tindy
Diffstat (limited to 'games/warzone2100/Makefile')
-rw-r--r-- | games/warzone2100/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/games/warzone2100/Makefile b/games/warzone2100/Makefile index 328c60727a50..b682f7cc16f2 100644 --- a/games/warzone2100/Makefile +++ b/games/warzone2100/Makefile @@ -34,17 +34,18 @@ CONFIGURE_ARGS= --program-transform-name="" --with-distributor="FreeBSD ports" CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" \ LIBS="${PTHREAD_LIBS}" +REINPLACE_ARGS= -i '' post-patch: @${REINPLACE_CMD} -e 's|-m32||' ${WRKSRC}/configure + @${REINPLACE_CMD} -e 's|AUTHORS||; s|COPYING COPYING\.README||' \ + ${WRKSRC}/Makefile.in .if defined(NOPORTDOCS) - @${REINPLACE_CMD} -Ee 's|^install-dist_docDATA$$||' \ + @${REINPLACE_CMD} -Ee 's|install-dist_docDATA$$||' \ ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e 's|^install: install-am|install:|' \ ${WRKSRC}/doc/Makefile.in .else - @${REINPLACE_CMD} -e 's|AUTHORS||; s|COPYING COPYING\.README||' \ - ${WRKSRC}/Makefile.in .endif .include <bsd.port.mk> |