pkgsrc/www/ap-aolserver/Makefile
fredb 2f53857f29 Generalize the handling for packages where "fetch" and "fetch-list"
only emit a message and don't actually fetch anything. This allows
us to make the output of "fetch-list" for these packages consistent
with other packages.

While we're in here, integrate DYNAMIC_MASTER_SITES with the
${ORDERED_SITES} macro. The only functional change here is that
${MASTER_SITE_OVERRIDE} is now respected. Still to do -- something
appropriate for "fetch-list" for these packages, like sourcing
"getsites.sh" into the generated script. (Well, "package", but there
are two others that do something similar in their "Makefile".)

Also eliminate the misbegotten _FETCH_ALLFILES macro -- now that only
"fetch" uses it, move it's functionality directly under "do-fetch".
2002-03-04 19:41:03 +00:00

39 lines
1.3 KiB
Makefile

# $NetBSD: Makefile,v 1.8 2002/03/04 19:41:08 fredb Exp $
#
DISTNAME= mod_aolserver-1.1
PKGNAME= ap-aolserver-1.1
CATEGORIES= www
MASTER_SITES= # none
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.1.3:../../devel/libmm
DEPENDS+= tcl>=8.3:../../lang/tcl
DEPENDS+= apache{,6}-1.3.*:../../www/apache
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"
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 "../../mk/bsd.pkg.mk"