diff options
author | Jan Beich <jbeich@FreeBSD.org> | 2015-05-04 11:16:47 +0000 |
---|---|---|
committer | Jan Beich <jbeich@FreeBSD.org> | 2015-05-04 11:16:47 +0000 |
commit | 4f960ddb6b67fabad3d3e633ed92b0cb441a698a (patch) | |
tree | 9305a4cd66421b5305c301bdb0262ba735157d5f /games/assaultcube/Makefile | |
parent | ecb286eedddf7488f0b6e9a3bd6afc0afa04b65e (diff) | |
download | ports-4f960ddb6b67fabad3d3e633ed92b0cb441a698a.tar.gz ports-4f960ddb6b67fabad3d3e633ed92b0cb441a698a.zip |
Notes
Diffstat (limited to 'games/assaultcube/Makefile')
-rw-r--r-- | games/assaultcube/Makefile | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/games/assaultcube/Makefile b/games/assaultcube/Makefile index 4e64ea63985b..fafd27359f8f 100644 --- a/games/assaultcube/Makefile +++ b/games/assaultcube/Makefile @@ -64,6 +64,16 @@ DESKTOP_ENTRIES="AssaultCube" "${COMMENT}" \ "Game;" false .endif +post-patch: .SILENT + ${REINPLACE_CMD} -e '/^CXXFLAGS=/d ; /^CXX=/d ; /^CLIENT_PCH/d ; \ + /^INCLUDES=/s|$$| -I$$(LOCALBASE)/include| ; \ + s|-I/usr/include || ; \ + s|sdl-config|$$(SDL_CONFIG)| ; \ + s|$$(USRLIB)|$$(LOCALBASE)/lib| ; \ + /^CLIENT_LIBS=/s|$$| -lintl| ; \ + /^SERVER_LIBS=/s|$$| -L$$(LOCALBASE)/lib|' \ + ${BUILD_WRKSRC}/Makefile + do-install: .for f in ${PLIST_FILES:Mbin/*} ${INSTALL_SCRIPT} ${WRKDIR}/${f:T} ${STAGEDIR}${PREFIX}/${f} |