Index: head/games/assaultcube/Makefile =================================================================== --- head/games/assaultcube/Makefile (revision 381323) +++ head/games/assaultcube/Makefile (revision 381324) @@ -1,100 +1,82 @@ # Created by: alepulver # $FreeBSD$ PORTNAME= assaultcube PORTVERSION= 1.2.0.2 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= games MASTER_SITES= SF/actiongame/AssaultCube%20Version%20${PORTVERSION} DISTNAME= AssaultCube_v${PORTVERSION} MAINTAINER= lightside@gmx.com COMMENT= Total conversion of the FPS game called Cube LICENSE= ACUBE CUBE MIT OTHER LICENSE_COMB= multi LICENSE_NAME_ACUBE= AssaultCube ZLIB-like license with additions LICENSE_NAME_CUBE= Cube game engine ZLIB-like license with additions LICENSE_NAME_OTHER= various package licences LICENSE_FILE_ACUBE= ${WRKSRC}/source/README.txt LICENSE_FILE_CUBE= ${WRKSRC}/source/README_CUBEENGINE.txt LICENSE_FILE_OTHER= ${WRKSRC}/docs/package_copyrights.txt LICENSE_PERMS_ACUBE= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept LICENSE_PERMS_CUBE= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept LICENSE_PERMS_OTHER= dist-mirror pkg-mirror auto-accept -USES= gmake openal:al tar:bzip2 +USES= gmake tar:bzip2 GNU_CONFIGURE= yes ALL_TARGET= libenet WRKSRC= ${WRKDIR}/AssaultCube_v${PORTVERSION} CONFIGURE_ARGS= --enable-shared=no --enable-static=yes CONFIGURE_WRKSRC= ${WRKSRC}/source/enet BUILD_WRKSRC= ${WRKSRC}/source/src +SUB_FILES= ${PLIST_FILES:Mbin/*:T} PORTDATA= config packages scripts PORTDOCS= * +PLIST_DIRS= %%DATADIR%%/packages/maps/servermaps/incoming OPTIONS_DEFINE= DOCS OPTIONS_MULTI= BUILD OPTIONS_MULTI_BUILD= CLIENT DEDICATED MASTER OPTIONS_DEFAULT= CLIENT DEDICATED + CLIENT_DESC= Build client +CLIENT_USES= gettext-runtime openal:al +CLIENT_USE= GL=gl SDL=image,sdl XORG=x11 +CLIENT_LIB_DEPENDS= libvorbisfile.so:${PORTSDIR}/audio/libvorbis \ + libcurl.so:${PORTSDIR}/ftp/curl +CLIENT_ALL_TARGET= client +CLIENT_PLIST_FILES= bin/${PORTNAME}_client libexec/${PORTNAME}_client \ + share/pixmaps/${PORTNAME}.png DEDICATED_DESC= Build dedicated server +DEDICATED_ALL_TARGET= server +DEDICATED_PLIST_FILES= bin/${PORTNAME}_server libexec/${PORTNAME}_server MASTER_DESC= Build master server +MASTER_ALL_TARGET= master +MASTER_PLIST_FILES= bin/${PORTNAME}_master libexec/${PORTNAME}_master .include .if ${PORT_OPTIONS:MCLIENT} -LIB_DEPENDS+= libcurl.so:${PORTSDIR}/ftp/curl -USES+= gettext -USE_GL= yes -USE_SDL= image mixer sdl -ALL_TARGET+= client -SUB_FILES+= ${PORTNAME}_client -ACUBE_BIN+= client - DESKTOP_ENTRIES="AssaultCube" "${COMMENT}" \ "${PREFIX}/share/pixmaps/${PORTNAME}.png" "${PORTNAME}_client" \ "Game;" false .endif -.if ${PORT_OPTIONS:MDEDICATED} -ALL_TARGET+= server -SUB_FILES+= ${PORTNAME}_server -ACUBE_BIN+= server -.endif - -.if ${PORT_OPTIONS:MMASTER} -ALL_TARGET+= master -SUB_FILES+= ${PORTNAME}_master -ACUBE_BIN+= master -.endif - -pre-install: .SILENT - # Current STAGEDIR doesn't create empty directories for package, - # in case of dynamically generated TMPPLIST, where these directories exist - ${RMDIR} ${WRKSRC}/packages/maps/servermaps/incoming - do-install: -.for f in ${ACUBE_BIN} - ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}_${f} ${STAGEDIR}${PREFIX}/bin - ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/ac_${f} ${STAGEDIR}${PREFIX}/libexec/${PORTNAME}_${f} +.for f in ${PLIST_FILES:Mbin/*} + ${INSTALL_SCRIPT} ${WRKDIR}/${f:T} ${STAGEDIR}${PREFIX}/${f} .endfor - @${MKDIR} ${STAGEDIR}${DATADIR} - cd ${WRKSRC} && ${COPYTREE_SHARE} "${PORTDATA}" ${STAGEDIR}${DATADIR} - @${MKDIR} ${STAGEDIR}${DOCSDIR} - cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} -.if ${PORT_OPTIONS:MCLIENT} - ${INSTALL_DATA} ${WRKSRC}/docs/images/icon.png ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png -.endif - -post-install: -.for f in ${ACUBE_BIN} - @${ECHO_CMD} bin/${PORTNAME}_${f} >> ${TMPPLIST} - @${ECHO_CMD} libexec/${PORTNAME}_${f} >> ${TMPPLIST} +.for f in ${PLIST_FILES:Mlibexec/*} + ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/${f:T:S/${PORTNAME}/ac/} \ + ${STAGEDIR}${PREFIX}/${f} .endfor .if ${PORT_OPTIONS:MCLIENT} - @${ECHO_CMD} share/pixmaps/${PORTNAME}.png >> ${TMPPLIST} + ${INSTALL_DATA} ${WRKSRC}/docs/images/icon.png \ + ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png .endif + (cd ${WRKSRC} && ${COPYTREE_SHARE} "${PORTDATA}" ${STAGEDIR}${DATADIR}) + (cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) .include Index: head/games/assaultcube/files/patch-source_src_bot_bot_waypoint.cpp =================================================================== --- head/games/assaultcube/files/patch-source_src_bot_bot_waypoint.cpp (nonexistent) +++ head/games/assaultcube/files/patch-source_src_bot_bot_waypoint.cpp (revision 381324) @@ -0,0 +1,11 @@ +--- source/src/bot/bot_waypoint.cpp.orig 2013-11-10 22:50:03.000000000 +0400 ++++ source/src/bot/bot_waypoint.cpp 2015-02-13 07:33:14.000000000 +0400 +@@ -848,7 +848,7 @@ + + if (!pWP) + { +- conoutf("Error: Couldnīt find near waypoint"); ++ conoutf("Error: Couldn't find near waypoint"); + return; + } + Property changes on: head/games/assaultcube/files/patch-source_src_bot_bot_waypoint.cpp ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/games/bloodfrontier/Makefile =================================================================== --- head/games/bloodfrontier/Makefile (revision 381323) +++ head/games/bloodfrontier/Makefile (revision 381324) @@ -1,78 +1,72 @@ # Created by: Jose Alonso Cardenas Marquez # $FreeBSD$ PORTNAME= bloodfrontier DISTVERSION= B2 -PORTREVISION= 9 +PORTREVISION= 10 CATEGORIES= games MASTER_SITES= SF/${PORTNAME}/Blood%20Frontier%20Beta%202 DISTNAME= ${PORTNAME}-${DISTVERSION}-linux MAINTAINER= amdmi3@FreeBSD.org COMMENT= Single- and multi-player first-person shooter based on Cube 2 LICENSE= ZLIB USES= tar:bzip2 gmake GNU_CONFIGURE= yes CONFIGURE_WRKSRC= ${WRKSRC}/src/enet BUILD_WRKSRC= ${WRKSRC}/src WRKSRC= ${WRKDIR}/${PORTNAME} -USE_XORG= x11 -ALL_TARGET= libenet ${BINARIES} +ALL_TARGET= libenet -SUB_FILES= bfclient bfserver +SUB_FILES= ${PLIST_FILES:Mbin/*:T} PORTDATA= * OPTIONS_DEFINE= OPTIMIZED_CFLAGS OPTIONS_MULTI= COMPONENTS OPTIONS_MULTI_COMPONENTS=CLIENT DEDICATED OPTIONS_DEFAULT= CLIENT DEDICATED OPTIMIZED_CFLAGS CLIENT_DESC= Build client +CLIENT_USE= GL=gl SDL=image,mixer,sdl XORG=x11 +CLIENT_ALL_TARGET= client +CLIENT_PLIST_FILES= bin/bfclient libexec/bfclient \ + share/pixmaps/${PORTNAME}.ico DEDICATED_DESC= Build dedicated server +DEDICATED_PLIST_FILES= bin/bfserver libexec/bfserver +DEDICATED_ALL_TARGET= server +OPTIMIZED_CFLAGS_CFLAGS= -O3 -fomit-frame-pointer +OPTIMIZED_CFLAGS_CXXFLAGS= -O3 -fomit-frame-pointer .include .if ${ARCH} == "ia64" || ${ARCH} == "powerpc" || ${ARCH} == "sparc64" BROKEN= Does not compile on ia64, powerpc, or sparc64 .endif .if ${PORT_OPTIONS:MCLIENT} -USE_GL= yes -USE_SDL= image mixer sdl -PLIST_FILES+= bin/bfclient libexec/bfclient share/pixmaps/${PORTNAME}.ico -BINARIES+= client - DESKTOP_ENTRIES="Blood Frontier" \ "${COMMENT}" \ "${PREFIX}/share/pixmaps/${PORTNAME}.ico" \ "bfclient" \ "Game;Shooter;" \ "" .endif -.if ${PORT_OPTIONS:MDEDICATED} -PLIST_FILES+= bin/bfserver libexec/bfserver -BINARIES+= server -.endif - -.if ${PORT_OPTIONS:MOPTIMIZED_CFLAGS} -CFLAGS+= -O3 -fomit-frame-pointer -CXXFLAGS+= -O3 -fomit-frame-pointer -.endif - do-install: -.for f in ${BINARIES} - ${INSTALL_SCRIPT} ${WRKDIR}/bf${f} ${STAGEDIR}${PREFIX}/bin - ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/bf${f} ${STAGEDIR}${PREFIX}/libexec +.for f in ${PLIST_FILES:Mbin/*} + ${INSTALL_SCRIPT} ${WRKDIR}/${f:T} ${STAGEDIR}${PREFIX}/${f} .endfor +.for f in ${PLIST_FILES:Mlibexec/*} + ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/${f:T} ${STAGEDIR}${PREFIX}/${f:H} +.endfor .if ${PORT_OPTIONS:MCLIENT} - ${INSTALL_DATA} ${WRKSRC}/src/${PORTNAME}.ico ${STAGEDIR}${PREFIX}/share/pixmaps + ${INSTALL_DATA} ${WRKSRC}/src/${PORTNAME}.ico \ + ${STAGEDIR}${PREFIX}/share/pixmaps .endif - ${MKDIR} ${STAGEDIR}${DATADIR} - cd ${WRKSRC}/data && ${COPYTREE_SHARE} "." ${STAGEDIR}${DATADIR}/ + (cd ${WRKSRC}/data && ${COPYTREE_SHARE} "." ${STAGEDIR}${DATADIR}) .include Index: head/games/cube/Makefile =================================================================== --- head/games/cube/Makefile (revision 381323) +++ head/games/cube/Makefile (revision 381324) @@ -1,69 +1,56 @@ # Created by: Arjan van Leeuwen # $FreeBSD$ PORTNAME= cube DISTVERSION= 2005_08_29 -PORTREVISION= 15 +PORTREVISION= 16 CATEGORIES= games MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${DISTVERSION} DISTFILES= ${CUBE_DATA} ${CUBE_SRC} MAINTAINER= ports@FreeBSD.org COMMENT= OpenGL 3D FPS (first person shooter) game LIB_DEPENDS= libenet.so:${PORTSDIR}/net/enet USES= dos2unix gmake EXTRACT_AFTER_ARGS=--exclude enet ALL_TARGET= # -USE_XORG= x11 CFLAGS+= -fsigned-char WRKSRC= ${WRKDIR}/${PORTNAME}_source/src -SUB_FILES= cube_client cube_server +SUB_FILES= ${ALL_TARGET:S/^/${PORTNAME}_/} CUBE_DATA= ${PORTNAME}_${DISTVERSION}_unix.tar.gz CUBE_SRC= ${PORTNAME}_${DISTVERSION}_src.zip OPTIONS_DEFINE= OPTIMIZED_CFLAGS DOCS OPTIONS_MULTI= FLAVOR OPTIONS_MULTI_FLAVOR= CLIENT SERVER OPTIONS_DEFAULT= CLIENT SERVER +OPTIONS_SUB= yes FLAVOR_DESC= Clients and servers CLIENT_DESC= Build client +CLIENT_USE= GL=glu SDL=image,mixer,sdl XORG=x11 +CLIENT_LDFLAGS= -lX11 +CLIENT_ALL_TARGET= client +OPTIMIZED_CFLAGS_CFLAGS= -O3 -fomit-frame-pointer SERVER_DESC= Build dedicated server +SERVER_ALL_TARGET= server -OPTIONS_SUB= yes - -OPTIMIZED_CFLAGS_CFLAGS= -O3 -fomit-frame-pointer - .include -.if ${PORT_OPTIONS:MCLIENT} -USE_GL= glu -USE_SDL= image mixer sdl -ALL_TARGET+= client -CUBE_BIN+= client -LDFLAGS+= -lX11 -.endif - -.if ${PORT_OPTIONS:MSERVER} -ALL_TARGET+= server -CUBE_BIN+= server -.endif - do-install: -.for f in ${CUBE_BIN} +.for f in ${ALL_TARGET} ${INSTALL_SCRIPT} ${WRKDIR}/cube_${f} ${STAGEDIR}${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/cube_${f} ${STAGEDIR}${PREFIX}/libexec .endfor - @${MKDIR} ${STAGEDIR}${DATADIR} - @(cd ${WRKDIR}/cube && ${COPYTREE_SHARE} "data packages" ${STAGEDIR}${DATADIR}) + (cd ${WRKDIR}/cube && ${COPYTREE_SHARE} \ + "data packages" ${STAGEDIR}${DATADIR}) + (cd ${WRKDIR}/cube/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) ${INSTALL_DATA} ${WRKDIR}/cube/autoexec.cfg ${STAGEDIR}${DATADIR} - @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKDIR}/cube/readme.html ${STAGEDIR}${DOCSDIR} - (cd ${WRKDIR}/cube/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) .include Index: head/games/redeclipse/Makefile =================================================================== --- head/games/redeclipse/Makefile (revision 381323) +++ head/games/redeclipse/Makefile (revision 381324) @@ -1,89 +1,82 @@ # Created by: Jose Alonso Cardenas Marquez # $FreeBSD$ PORTNAME= redeclipse PORTVERSION= 1.4 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= games MASTER_SITES= SF/${PORTNAME}/${PORTNAME}_${PORTVERSION:C/^([0-9]+\.[0-9]+)\..*/\1/} DISTNAME= ${PORTNAME}_${PORTVERSION}_nix MAINTAINER= amdmi3@FreeBSD.org COMMENT= Single-player and multi-player first-person ego-shooter LICENSE_COMB= multi LICENSE= MIT ZLIB -MANUAL_PACKAGE_BUILD= huge +MANUAL_PACKAGE_BUILD= huge (734MiB) USES= tar:bzip2 gmake GNU_CONFIGURE= yes CONFIGURE_WRKSRC= ${WRKSRC}/src/enet CONFIGURE_ARGS= --enable-shared=no --enable-static=yes USE_AUTOTOOLS= aclocal automake autoconf:env AUTOMAKE_ARGS= -ia BUILD_WRKSRC= ${WRKSRC}/src WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} ALL_TARGET= libenet -SUB_FILES= ${PORTNAME} ${PORTNAME}_server +SUB_FILES= ${PLIST_FILES:Mbin/*:T} -PORTDATA= * +PORTDATA= game data PORTDOCS= * PLIST_DIRS= %%DATADIR%%/data/brush OPTIONS_DEFINE= OPTIMIZED_CFLAGS DOCS OPTIONS_MULTI= COMPONENTS OPTIONS_MULTI_COMPONENTS=CLIENT DEDICATED OPTIONS_DEFAULT=CLIENT DEDICATED OPTIMIZED_CFLAGS CLIENT_DESC= Build client +CLIENT_USE= GL=gl SDL=image,mixer,sdl XORG=x11 +CLIENT_ALL_TARGET= client +CLIENT_PLIST_FILES= bin/${PORTNAME} libexec/${PORTNAME} \ + share/pixmaps/${PORTNAME}.ico DEDICATED_DESC= Build dedicated server +DEDICATED_ALL_TARGET= server +DEDICATED_PLIST_FILES= bin/${PORTNAME}_server libexec/${PORTNAME}_server +OPTIMIZED_CFLAGS_CFLAGS= -O3 -fomit-frame-pointer +OPTIMIZED_CFLAGS_CXXFLAGS= -O3 -fomit-frame-pointer .include .if ${ARCH} == "sparc64" BROKEN= does not build on sparc64 .endif .if ${PORT_OPTIONS:MCLIENT} -USE_GL= yes -USE_SDL= image mixer sdl -PLIST_FILES+= bin/${PORTNAME} libexec/${PORTNAME} share/pixmaps/${PORTNAME}.ico -BINARIES+= ${PORTNAME} -ALL_TARGET+= client - DESKTOP_ENTRIES="Red Eclipse" \ "${COMMENT}" \ "${PREFIX}/share/pixmaps/${PORTNAME}.ico" \ "${PORTNAME}" \ "Game;Shooter;" \ "" .endif -.if ${PORT_OPTIONS:MDEDICATED} -PLIST_FILES+= bin/${PORTNAME}_server libexec/${PORTNAME}_server -BINARIES+= ${PORTNAME}_server -ALL_TARGET+= server -.endif - -.if ${PORT_OPTIONS:MOPTIMIZED_CFLAGS} -CFLAGS+= -O3 -fomit-frame-pointer -CXXFLAGS+= -O3 -fomit-frame-pointer -.endif - do-install: -.for f in ${BINARIES} - ${INSTALL_SCRIPT} ${WRKDIR}/${f} ${STAGEDIR}${PREFIX}/bin - ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/${f} ${STAGEDIR}${PREFIX}/libexec +.for f in ${PLIST_FILES:Mbin/*} + ${INSTALL_SCRIPT} ${WRKDIR}/${f:T} ${STAGEDIR}${PREFIX}/${f} .endfor - ${MKDIR} ${STAGEDIR}${DOCSDIR} - cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/ - ${MKDIR} ${STAGEDIR}${DATADIR} - cd ${WRKSRC} && ${COPYTREE_SHARE} "game data" ${STAGEDIR}${DATADIR}/ +.for f in ${PLIST_FILES:Mlibexec/*} + ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/${f:T} \ + ${STAGEDIR}${PREFIX}/${f:H} +.endfor .if ${PORT_OPTIONS:MCLIENT} - ${INSTALL_DATA} ${WRKSRC}/src/${PORTNAME}.ico ${STAGEDIR}${PREFIX}/share/pixmaps/ + ${INSTALL_DATA} ${WRKSRC}/src/${PORTNAME}.ico \ + ${STAGEDIR}${PREFIX}/share/pixmaps .endif + (cd ${WRKSRC} && ${COPYTREE_SHARE} "${PORTDATA}" ${STAGEDIR}${DATADIR}) + (cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) .include Index: head/games/sauerbraten/Makefile =================================================================== --- head/games/sauerbraten/Makefile (revision 381323) +++ head/games/sauerbraten/Makefile (revision 381324) @@ -1,88 +1,74 @@ # Created by: Jose Alonso Cardenas Marquez # $FreeBSD$ PORTNAME= sauerbraten PORTVERSION= 20130203 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= games MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/2013_01_04 DISTNAME= ${PORTNAME}_2013_02_03_collect_edition_linux MAINTAINER= acm@FreeBSD.org COMMENT= First person shooter based on Cube LICENSE= MIT ZLIB LICENSE_COMB= multi USES= gmake tar:bzip2 GNU_CONFIGURE= yes CONFIGURE_ENV= ACLOCAL=true AUTOCONF=true AUTOMAKE=true CONFIGURE_WRKSRC= ${WRKSRC}/src/enet CONFIGURE_ARGS= --enable-shared=no --enable-static=yes BUILD_WRKSRC= ${WRKSRC}/src WRKSRC= ${WRKDIR}/${PORTNAME} ALL_TARGET= libenet PORTDATA= data packages PORTDOCS= * PLIST_DIRS= %%DATADIR%%/packages/brush OPTIONS_MULTI= BUILD OPTIONS_MULTI_BUILD= CLIENT DEDICATED MASTER OPTIONS_DEFAULT= CLIENT DEDICATED -CLIENT_DESC= Build client -DEDICATED_DESC= Build dedicated server -MASTER_DESC= Build master server -SUB_FILES= sauer_client sauer_master sauer_server pkg-message +SUB_FILES= pkg-message ${PLIST_FILES:Mbin/*:T} OPTIONS_DEFINE= DOCS +CLIENT_DESC= Build client +CLIENT_USE= GL=gl SDL=image,mixer,sdl XORG=x11 +CLIENT_ALL_TARGET= client +CLIENT_PLIST_FILES= bin/sauer_client libexec/sauer_client +DEDICATED_DESC= Build dedicated server +DEDICATED_ALL_TARGET= server +DEDICATED_PLIST_FILES= bin/sauer_server libexec/sauer_server +MASTER_DESC= Build master server +MASTER_ALL_TARGET= master + .include .if ${PORT_OPTIONS:MCLIENT} -USE_GL= yes -USE_SDL= image mixer sdl -ALL_TARGET+= client -SAUER_BIN+= client - DESKTOP_ENTRIES="Sauerbraten" "${COMMENT}" \ "${PREFIX}/share/${PORTNAME}/data/cube.png" "sauer_client" \ "Game;" false .endif -.if ${PORT_OPTIONS:MDEDICATED} -ALL_TARGET+= server -SAUER_BIN+= server -.endif - -.if ${PORT_OPTIONS:MMASTER} -ALL_TARGET+= master -SAUER_BIN+= master -.endif - post-extract: @${FIND} ${WRKSRC} -type d -name CVS -type d -print0 | \ ${XARGS} -0 ${RM} -R post-patch: @${REINPLACE_CMD} -Ee '/^#define (HAS_GETHOSTBY(NAME|ADDR)_R) 1/d' \ ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT} do-install: -.for f in ${SAUER_BIN} - ${INSTALL_SCRIPT} ${WRKDIR}/sauer_${f} ${STAGEDIR}${PREFIX}/bin - ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/sauer_${f} ${STAGEDIR}${PREFIX}/libexec +.for f in ${PLIST_FILES:Mbin/*} + ${INSTALL_SCRIPT} ${WRKDIR}/${f:T} ${STAGEDIR}${PREFIX}/${f} .endfor - ${MKDIR} ${STAGEDIR}${DATADIR} - cd ${WRKSRC} && ${COPYTREE_SHARE} "${PORTDATA}" ${STAGEDIR}${DATADIR} - ${MKDIR} ${STAGEDIR}${DOCSDIR} - cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} - -post-install: -.for f in ${SAUER_BIN} - @${ECHO_CMD} bin/sauer_${f} >> ${TMPPLIST} - @${ECHO_CMD} libexec/sauer_${f} >> ${TMPPLIST} +.for f in ${PLIST_FILES:Mlibexec/*} + ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/${f:T} ${STAGEDIR}${PREFIX}/${f:H} .endfor + (cd ${WRKSRC} && ${COPYTREE_SHARE} "${PORTDATA}" ${STAGEDIR}${DATADIR}) + (cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) .include