summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2002-10-25 12:56:58 +0000
committerwiz <wiz@pkgsrc.org>2002-10-25 12:56:58 +0000
commita672f83e3ab20f2478ddf1c43a49c5c2f2329c7d (patch)
tree1fba38c077767f206e603dd21bcca523e5033525
parent176ca3a14644798ced68cd4fea95430720e310f4 (diff)
downloadpkgsrc-a672f83e3ab20f2478ddf1c43a49c5c2f2329c7d.tar.gz
Convert to buildlink2. Remove _FETCH_MESSAGE -- not needed.
-rw-r--r--www/ap-aolserver/Makefile26
1 files changed, 9 insertions, 17 deletions
diff --git a/www/ap-aolserver/Makefile b/www/ap-aolserver/Makefile
index 92a97227052..15101f41c38 100644
--- a/www/ap-aolserver/Makefile
+++ b/www/ap-aolserver/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2002/08/01 00:58:32 mycroft Exp $
+# $NetBSD: Makefile,v 1.11 2002/10/25 12:56:58 wiz Exp $
#
DISTNAME= mod_aolserver-1.1
@@ -11,30 +11,22 @@ MAINTAINER= cjones@netbsd.org
HOMEPAGE= http://www.arsdigita.com/acs-repository/one-version?version_id=601
COMMENT= Module that emulates AOLServer in Apache
-DEPENDS+= postgresql-lib>=7.0:../../databases/postgresql-lib
-DEPENDS+= libmm>=1.2.1:../../devel/libmm
-DEPENDS+= tcl>=8.3:../../lang/tcl
-DEPENDS+= apache{,6}-1.3.*:../../www/apache
+GNU_CONFIGURE= YES
+USE_BUILDLINK2= YES
-HAS_CONFIGURE= # yes
-GNU_CONFIGURE= # yes
-
-CONFIGURE_ARGS+= --with-database=postgres --with-mm=${PREFIX}
-CONFIGURE_ENV+= CPPFLAGS="-I${PREFIX}/include/pgsql -I${PREFIX}/include/httpd"
+CONFIGURE_ARGS+= --with-database=postgres --with-mm=${BUILDLINK_PREFIX.libmm}
+CONFIGURE_ENV+= CPPFLAGS="-I${BUILDLINK_PREFIX.postgresql-lib}/include/pgsql -I${BUILDLINK_PREFIX.apache}/include/httpd"
MESSAGE_SUBST+= PREFIX=${PREFIX}
-_FETCH_MESSAGE= \
- ${ECHO} "===================================================================="; \
- ${ECHO} " Please fetch ${DISTFILES} into ${DISTDIR}" ; \
- ${ECHO} " from ${HOMEPAGE} ." ; \
- ${ECHO} "===================================================================="
-
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/mod_aolserver
${INSTALL_DATA} ${FILESDIR}/README ${FILESDIR}/nsd.tcl.sample \
${WRKSRC}/tcl_modules/nsd.ini.sample \
${PREFIX}/share/examples/mod_aolserver
-.include "../../www/apache/buildlink.mk"
+.include "../../databases/postgresql-lib/buildlink2.mk"
+.include "../../devel/libmm/buildlink2.mk"
+.include "../../lang/tcl/buildlink2.mk"
+.include "../../www/apache/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"