summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games/maelstrom-x11/Makefile8
-rw-r--r--games/xbill/Makefile5
2 files changed, 7 insertions, 6 deletions
diff --git a/games/maelstrom-x11/Makefile b/games/maelstrom-x11/Makefile
index dc9cd989477..b937f5178e5 100644
--- a/games/maelstrom-x11/Makefile
+++ b/games/maelstrom-x11/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2002/07/11 13:26:12 wiz Exp $
+# $NetBSD: Makefile,v 1.2 2002/10/21 12:00:38 wiz Exp $
DISTNAME= Maelstrom-1.4.3-L2.0.6-src.tar.gz
PKGNAME= maelstrom-x11-2.0.6
@@ -21,10 +21,9 @@ CONFLICTS= maelstrom-[0-9]* maelstrom-sdl-[0-9]*
EXTRACT_ONLY= ${DISTNAME}
WRKSRC= ${WRKDIR}/Maelstrom
+USE_BUILDLINK2= YES
USE_X11BASE= YES
-USE_XPM= YES
-EVAL_PREFIX+= XPMDIR=xpm
-MAKE_ENV+= BINOWN=${BINOWN} BINGRP=${BINGRP} XPMDIR=${XPMDIR}
+MAKE_ENV+= BINOWN=${BINOWN} BINGRP=${BINGRP} XPMDIR=${BUILDLINK_PREFIX.xpm}
post-install:
cd ${PREFIX}/share/maelstrom && \
@@ -38,4 +37,5 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/README.* ${PREFIX}/share/maelstrom
${INSTALL_PROGRAM} ${WRKSRC}/netplayd/netplayd ${PREFIX}/bin/Maelstrom_netplayd
+.include "../../graphics/xpm/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/games/xbill/Makefile b/games/xbill/Makefile
index eb2712c4bf0..b4a2fcc8c9e 100644
--- a/games/xbill/Makefile
+++ b/games/xbill/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2001/09/27 23:18:08 jlam Exp $
+# $NetBSD: Makefile,v 1.10 2002/10/21 12:09:16 wiz Exp $
#
DISTNAME= xbill-2.0
@@ -12,11 +12,12 @@ COMMENT= stop the dreaded Windows virus from infecting computers
CONFLICT= gnome-games-[0-9]*
+USE_BUILDLINK2= YES
USE_IMAKE= YES
-USE_XPM= YES
NO_INSTALL_MANPAGES= YES
post-install:
${INSTALL_MAN} ${WRKSRC}/xbill.man ${PREFIX}/man/man6/xbill.6
+.include "../../graphics/xpm/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"