summaryrefslogtreecommitdiff
path: root/games/netmaj
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2001-11-28 14:33:09 +0000
committerjlam <jlam@pkgsrc.org>2001-11-28 14:33:09 +0000
commitd1668a3c7247e0b33ac2ba0b7e0fe50b321ec40c (patch)
tree78c1531564d6c220e879b920a1ec4d2a2e40e5f7 /games/netmaj
parentcfb6312dc04bee758a01f9def87886ee847480b0 (diff)
downloadpkgsrc-d1668a3c7247e0b33ac2ba0b7e0fe50b321ec40c.tar.gz
BUildlinkify. Also clean up this package, but using the proper variables
to tweak the install, and a few other cosmetic changes. Lastly, sort the PLIST.
Diffstat (limited to 'games/netmaj')
-rw-r--r--games/netmaj/Makefile20
-rw-r--r--games/netmaj/PLIST4
2 files changed, 13 insertions, 11 deletions
diff --git a/games/netmaj/Makefile b/games/netmaj/Makefile
index 359afad60ba..a1bb9a74f05 100644
--- a/games/netmaj/Makefile
+++ b/games/netmaj/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2001/04/22 09:58:59 kei Exp $
+# $NetBSD: Makefile,v 1.2 2001/11/28 14:33:09 jlam Exp $
#
DISTNAME= netmaj-2.0.7
@@ -10,17 +10,19 @@ MAINTAINER= kei@netbsd.org
HOMEPAGE= http://www.sfc.wide.ad.jp/~kusune/netmaj/
COMMENT= mahjongg game with network and 1-4 player(s) support
-USE_PERL5= YES
+USE_BUILDLINK_ONLY= YES
WRKSRC= ${WRKDIR}/netmaj
+INSTALL_TARGET= install install-pf
+HTMLDIR= ${PREFIX}/share/doc/html/netmaj
+
do-build:
- cd ${WRKSRC}; \
- ${MAKE} libs; ${MAKE};
+ cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} libs
+ cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM}
-do-install:
- cd ${WRKSRC}; \
- ${MAKE} install install-pf; \
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html/netmaj; \
- ${INSTALL_DATA} html/* ${PREFIX}/share/doc/html/netmaj
+post-install:
+ ${INSTALL_DATA_DIR} ${HTMLDIR}
+ ${INSTALL_DATA} ${WRKSRC}/html/* ${HTMLDIR}
+.include "../../lang/perl5/buildlink.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/games/netmaj/PLIST b/games/netmaj/PLIST
index 86b5e8b6c08..66fbffab683 100644
--- a/games/netmaj/PLIST
+++ b/games/netmaj/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2001/11/01 00:54:37 zuntum Exp $
+@comment $NetBSD: PLIST,v 1.2 2001/11/28 14:33:09 jlam Exp $
bin/netmaj
bin/netmaj1
bin/plview
@@ -17,7 +17,6 @@ lib/netmaj/proxyserver
lib/netmaj/server
lib/netmaj/server.pf
lib/netmaj/server_kill
-@dirrm lib/netmaj
share/doc/html/netmaj/bluechip.gif
share/doc/html/netmaj/bluechip5.gif
share/doc/html/netmaj/bluemark.gif
@@ -117,3 +116,4 @@ share/doc/html/netmaj/title.gif
share/doc/html/netmaj/ton.gif
share/doc/html/netmaj/tonh.gif
@dirrm share/doc/html/netmaj
+@dirrm lib/netmaj