summaryrefslogtreecommitdiff
path: root/wm/afterstep/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'wm/afterstep/Makefile')
-rw-r--r--wm/afterstep/Makefile16
1 files changed, 6 insertions, 10 deletions
diff --git a/wm/afterstep/Makefile b/wm/afterstep/Makefile
index 0617cb2142e..0e9d81b176e 100644
--- a/wm/afterstep/Makefile
+++ b/wm/afterstep/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2001/05/22 09:32:25 wiz Exp $
+# $NetBSD: Makefile,v 1.11 2001/06/30 09:48:57 zuntum Exp $
DISTNAME= AfterStep-1.8.8
PKGNAME= afterstep-1.8.8
@@ -12,28 +12,20 @@ HOMEPAGE= http://www.afterstep.org/
COMMENT= NeXT-like window manager for X11
BUILD_DEPENDS+= autoconf-2.13:../../devel/autoconf
-DEPENDS+= jpeg-6b:../../graphics/jpeg
-DEPENDS+= png>=1.0.11:../../graphics/png
-DEPENDS+= rplay>=3.3.2:../../audio/rplay
# XXX
# XXX The following would be "RUN_DEPENDS," if we had such a thing.
# XXX
DEPENDS+= asclock-[0-9]*:../../time/asclock
DEPENDS+= xp-*:../../x11/xp
+USE_BUILDLINK_ONLY= YES
GNU_CONFIGURE= YES
USE_LIBTOOL= YES
USE_PERL5= YES
USE_X11= YES
-USE_XPM= YES
CONFIGURE_ARGS+= --disable-staticlibs
CONFIGURE_ARGS+= --with-helpcommand="xpman"
-CONFIGURE_ARGS+= --with-jpeg-includes=${LOCALBASE}/include
-CONFIGURE_ARGS+= --with-jpeg-lib=${LOCALBASE}/lib
-CONFIGURE_ARGS+= --with-png-includes=${LOCALBASE}/include
-CONFIGURE_ARGS+= --with-png-lib=${LOCALBASE}/lib
-CONFIGURE_ENV+= LOCALBASE=${LOCALBASE}
post-patch:
for i in `${FIND} ${WRKSRC} -name "*.man" -print` \
@@ -48,4 +40,8 @@ pre-configure:
${CHMOD} 755 configure; \
autoheader --localdir=autoconf autoconf/configure.in > autoconf/config.h.in;
+.include "../../audio/rplay/buildlink.mk"
+.include "../../graphics/jpeg/buildlink.mk"
+.include "../../graphics/png/buildlink.mk"
+.include "../../graphics/xpm/buildlink.mk"
.include "../../mk/bsd.pkg.mk"