mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-01 05:45:45 +00:00
31 lines
679 B
Makefile
31 lines
679 B
Makefile
# Created by: Yasuhiro Fukuma <yasuf@big.or.jp>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= npc
|
|
PORTVERSION= 0.83
|
|
CATEGORIES= www
|
|
MASTER_SITES= http://www2.biglobe.ne.jp/%7Enir/soft/
|
|
|
|
MAINTAINER= yasuf@big.or.jp
|
|
COMMENT= An animated web counter
|
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}/src
|
|
MAKE_ARGS= INDEX_DIR="${INDEX_DIR}"
|
|
|
|
INDEX_DIR= ${PREFIX}/etc/npc
|
|
|
|
NO_STAGE= yes
|
|
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:
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.mk>
|