aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorDanilo Egea Gondolfo <danilo@FreeBSD.org>2013-11-16 01:17:20 +0000
committerDanilo Egea Gondolfo <danilo@FreeBSD.org>2013-11-16 01:17:20 +0000
commit6a31d436a437215eff89a9de78efd3cb4b7a4c1c (patch)
treedc61d7984f2e015e6a8051c344de6eab6c2823f8 /games
parentacaa52afbc310ebde3a90000d74399aa21af21d0 (diff)
downloadports-6a31d436a437215eff89a9de78efd3cb4b7a4c1c.tar.gz
ports-6a31d436a437215eff89a9de78efd3cb4b7a4c1c.zip
- Use PLIST_FILES instead of pkg-plist
- Add stage support
Notes
Notes: svn path=/head/; revision=333959
Diffstat (limited to 'games')
-rw-r--r--games/xtriangles/Makefile14
-rw-r--r--games/xtriangles/pkg-plist2
2 files changed, 7 insertions, 9 deletions
diff --git a/games/xtriangles/Makefile b/games/xtriangles/Makefile
index e02ccf3b045c..db0ba2bbc6dc 100644
--- a/games/xtriangles/Makefile
+++ b/games/xtriangles/Makefile
@@ -14,15 +14,15 @@ COMMENT= Triangles puzzle
WRKSRC= ${WRKDIR}/${PORTNAME}
USES= imake
USE_XORG= x11 xext xt sm ice
-MAN1= xtriangles.1
-MANCOMPRESSED= no
-XFREE86_HTML_MAN= no
-NO_STAGE= yes
+PLIST_FILES= bin/xtriangles \
+ lib/X11/app-defaults/Triangles \
+ man/man1/xtriangles.1.gz
+
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/xtriangles ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/xtriangles ${STAGEDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/Triangles.ad \
- ${PREFIX}/lib/X11/app-defaults/Triangles
- ${INSTALL_MAN} ${WRKSRC}/xtriangles.man ${MANPREFIX}/man/man1/xtriangles.1
+ ${STAGEDIR}${PREFIX}/lib/X11/app-defaults/Triangles
+ ${INSTALL_MAN} ${WRKSRC}/xtriangles.man ${STAGEDIR}${MANPREFIX}/man/man1/xtriangles.1
.include <bsd.port.mk>
diff --git a/games/xtriangles/pkg-plist b/games/xtriangles/pkg-plist
deleted file mode 100644
index 1319207d6721..000000000000
--- a/games/xtriangles/pkg-plist
+++ /dev/null
@@ -1,2 +0,0 @@
-bin/xtriangles
-lib/X11/app-defaults/Triangles