aboutsummaryrefslogtreecommitdiffstats
path: root/games/xcubes
diff options
context:
space:
mode:
authordanilo <danilo@FreeBSD.org>2013-11-13 10:24:04 +0800
committerdanilo <danilo@FreeBSD.org>2013-11-13 10:24:04 +0800
commitd8577d91d1188014583815fd3e403354907659e2 (patch)
treea91535a9bd3c65154f777d5a612ffeb9e45219d5 /games/xcubes
parent552a893b76678069d29dc93294bdef734cb20c37 (diff)
downloadfreebsd-ports-gnome-d8577d91d1188014583815fd3e403354907659e2.tar.gz
freebsd-ports-gnome-d8577d91d1188014583815fd3e403354907659e2.tar.zst
freebsd-ports-gnome-d8577d91d1188014583815fd3e403354907659e2.zip
- Add stage support
- Use PLIST_FILES instead of pkg-plist file
Diffstat (limited to 'games/xcubes')
-rw-r--r--games/xcubes/Makefile14
-rw-r--r--games/xcubes/pkg-plist2
2 files changed, 7 insertions, 9 deletions
diff --git a/games/xcubes/Makefile b/games/xcubes/Makefile
index a5e366b82733..e4678a28f3ae 100644
--- a/games/xcubes/Makefile
+++ b/games/xcubes/Makefile
@@ -14,14 +14,14 @@ COMMENT= Cube puzzle for X11
WRKSRC= ${WRKDIR}/${PORTNAME}
USES= imake
USE_XORG= x11 xext xt sm ice
-MAN1= xcubes.1
-MANCOMPRESSED= no
-XFREE86_HTML_MAN= no
-NO_STAGE= yes
+PLIST_FILES= bin/xcubes \
+ man/man1/xcubes.1.gz \
+ lib/X11/app-defaults/Cubes
+
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/xcubes ${PREFIX}/bin
- ${INSTALL_DATA} ${WRKSRC}/Cubes.ad ${PREFIX}/lib/X11/app-defaults/Cubes
- ${INSTALL_MAN} ${WRKSRC}/xcubes.man ${MANPREFIX}/man/man1/xcubes.1
+ ${INSTALL_PROGRAM} ${WRKSRC}/xcubes ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_DATA} ${WRKSRC}/Cubes.ad ${STAGEDIR}${PREFIX}/lib/X11/app-defaults/Cubes
+ ${INSTALL_MAN} ${WRKSRC}/xcubes.man ${STAGEDIR}${MANPREFIX}/man/man1/xcubes.1
.include <bsd.port.mk>
diff --git a/games/xcubes/pkg-plist b/games/xcubes/pkg-plist
deleted file mode 100644
index 6d668de4d52b..000000000000
--- a/games/xcubes/pkg-plist
+++ /dev/null
@@ -1,2 +0,0 @@
-bin/xcubes
-lib/X11/app-defaults/Cubes