aboutsummaryrefslogtreecommitdiff
path: root/www/npc/Makefile
blob: 395d925f0c4a8e8b286cf302c7402589b3904975 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
PORTNAME=	npc
PORTVERSION=	0.83
CATEGORIES=	www
MASTER_SITES=	http://www2.biglobe.ne.jp/%7Enir/soft/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Animated web counter
WWW=		http://www2.biglobe.ne.jp/%7Enir/npc/

WRKSRC=		${WRKDIR}/${DISTNAME}/src
MAKE_ARGS=	INDEX_DIR="${INDEX_DIR}"

INDEX_DIR=	${PREFIX}/etc/npc

do-install:
	${MKDIR} ${STAGEDIR}${PREFIX}/www/cgi-bin
	${INSTALL_PROGRAM} ${WRKSRC}/npc.cgi ${STAGEDIR}${PREFIX}/www/cgi-bin
	${MKDIR} ${STAGEDIR}${PREFIX}/share/examples/npc
	(cd ${WRKSRC}/../conf && \
		${INSTALL_DATA} sample1.idx sample2.idx ${STAGEDIR}${PREFIX}/share/examples/npc)
	${MKDIR} ${STAGEDIR}${INDEX_DIR}

.include <bsd.port.mk>