c4e71c5e7a
adapt by moving CPPFLAGS settings to top-level, and removing explicit inclusion of CPPFLAGS into MAKE_ENV and CONFIGURE_ENV.
40 lines
1 KiB
Makefile
40 lines
1 KiB
Makefile
# $NetBSD: Makefile,v 1.7 2001/06/11 06:34:27 jlam Exp $
|
|
#
|
|
|
|
DISTNAME= isect-1.0
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ftp://home.netcom.com/pub/users/tgagne/
|
|
|
|
MAINTAINER= jlam@netbsd.org
|
|
HOMEPAGE= http://home.netcom.com/~tgagne/
|
|
COMMENT= open source middleware daemon
|
|
|
|
DEPENDS+= libwww-5.*:../../www/libwww
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_LIBTOOL= yes
|
|
LTCONFIG_OVERRIDE=${WRKSRC}/ltconfig
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include # for w3c-libwww/WWWlib.h
|
|
|
|
DOCDIR= ${PREFIX}/share/doc/isect
|
|
EGDIR= ${PREFIX}/share/examples/isect
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${DOCDIR}
|
|
for file in ${WRKSRC}/doc/*.html; do \
|
|
${INSTALL_DATA} $${file} ${DOCDIR}; \
|
|
done
|
|
|
|
${INSTALL_DATA_DIR} ${EGDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/COPYING ${EGDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/workers/isdecho.c ${EGDIR}
|
|
|
|
${SED} -e "s#@PREFIX@#${PREFIX}#g" \
|
|
-e "s#@ECHO@#${ECHO}#g" \
|
|
${FILESDIR}/isect.sh > ${WRKDIR}/isect.sh
|
|
${INSTALL_SCRIPT} ${WRKDIR}/isect.sh ${PREFIX}/etc/rc.d/isect
|
|
|
|
@PKG_PREFIX=${PREFIX} ${SH} ${PKGDIR}/INSTALL ${PKGNAME} POST-INSTALL
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|