aboutsummaryrefslogtreecommitdiffstats
path: root/games/xtriangles
diff options
context:
space:
mode:
authordanilo <danilo@FreeBSD.org>2013-11-16 09:17:20 +0800
committerdanilo <danilo@FreeBSD.org>2013-11-16 09:17:20 +0800
commit955a3f42a3fce315bfe97c2b4dd843959817b3dd (patch)
treedc61d7984f2e015e6a8051c344de6eab6c2823f8 /games/xtriangles
parent0670a445424a5f7c8b63aac937f4e637cf1355ae (diff)
downloadfreebsd-ports-gnome-955a3f42a3fce315bfe97c2b4dd843959817b3dd.tar.gz
freebsd-ports-gnome-955a3f42a3fce315bfe97c2b4dd843959817b3dd.tar.zst
freebsd-ports-gnome-955a3f42a3fce315bfe97c2b4dd843959817b3dd.zip
- Use PLIST_FILES instead of pkg-plist
- Add stage support
Diffstat (limited to 'games/xtriangles')
-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