1999-01-26 03:47:11 +00:00
|
|
|
# New ports collection makefile for: npc.cgi
|
|
|
|
# Date created: 3 December 1998
|
|
|
|
# Whom: Yasuhiro Fukuma <yasuf@big.or.jp>
|
|
|
|
#
|
1999-08-31 02:43:35 +00:00
|
|
|
# $FreeBSD$
|
1999-01-26 03:47:11 +00:00
|
|
|
#
|
|
|
|
|
2000-04-10 00:07:29 +00:00
|
|
|
PORTNAME= npc
|
|
|
|
PORTVERSION= 0.83
|
1999-01-26 03:47:11 +00:00
|
|
|
CATEGORIES= www
|
|
|
|
MASTER_SITES= http://www2.biglobe.ne.jp/%7Enir/soft/
|
|
|
|
|
|
|
|
MAINTAINER= yasuf@big.or.jp
|
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}/src
|
|
|
|
MAKE_ARGS= INDEX_DIR="${INDEX_DIR}"
|
|
|
|
|
|
|
|
INDEX_DIR= ${PREFIX}/etc/npc
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${MKDIR} ${PREFIX}/www/cgi-bin
|
|
|
|
cd ${WRKSRC}; \
|
|
|
|
${INSTALL_PROGRAM} npc.cgi ${PREFIX}/www/cgi-bin
|
|
|
|
${MKDIR} ${PREFIX}/share/examples/npc
|
|
|
|
cd ${WRKSRC}/../conf; \
|
|
|
|
${INSTALL_DATA} sample1.idx sample2.idx ${PREFIX}/share/examples/npc
|
|
|
|
${MKDIR} ${INDEX_DIR}
|
|
|
|
|
|
|
|
post-install:
|
2000-10-08 10:23:48 +00:00
|
|
|
@${CAT} ${PKGMESSAGE}
|
1999-01-26 03:47:11 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|