summaryrefslogtreecommitdiff
path: root/net/sitescooper/Makefile
diff options
context:
space:
mode:
authorwiz <wiz>2006-02-22 22:51:28 +0000
committerwiz <wiz>2006-02-22 22:51:28 +0000
commite2b81ca1bc5b00c1e440de435d25db28a2a348d4 (patch)
treee202d4d2ced33bc739f1125a96036bad37b60adf /net/sitescooper/Makefile
parentbc105072a3c886e9bdd3a44c509929bd0388e15e (diff)
downloadpkgsrc-e2b81ca1bc5b00c1e440de435d25db28a2a348d4.tar.gz
Use pkginstall framework. Sort PLIST. Bump PKGREVISION.
Diffstat (limited to 'net/sitescooper/Makefile')
-rw-r--r--net/sitescooper/Makefile14
1 files changed, 8 insertions, 6 deletions
diff --git a/net/sitescooper/Makefile b/net/sitescooper/Makefile
index 7481ddb83cb..af3edb46bd6 100644
--- a/net/sitescooper/Makefile
+++ b/net/sitescooper/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.12 2006/02/05 23:10:31 joerg Exp $
+# $NetBSD: Makefile,v 1.13 2006/02/22 22:51:28 wiz Exp $
#
DISTNAME= sitescooper-2.2.8
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= net comms
MASTER_SITES= http://sitescooper.cx/released/
@@ -16,6 +16,9 @@ DEPENDS+= pilotmgr-[0-9]*:../../comms/pilotmgr
USE_TOOLS+= perl:run
NO_BUILD= yes
+CONF_FILES+= ${PREFIX}/share/examples/sitescooper/sitescooper.cf \
+ ${PREFIX}/etc/sitescooper.cf \
+
INSTALLATION_DIRS= bin etc man/man1
do-configure:
@@ -45,9 +48,8 @@ do-install:
.for file in CHANGES.txt README.txt sitescooper.spec
${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/sitescooper
.endfor
- ${INSTALL_DATA} ${WRKSRC}/sitescooper.cf ${PREFIX}/etc/sitescooper.cf.sample
- if [ ! -f ${PREFIX}/etc/sitescooper.cf ]; then \
- ${INSTALL_DATA} ${WRKSRC}/sitescooper.cf ${PREFIX}/etc ; \
- fi
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/sitescooper
+ ${INSTALL_DATA} ${WRKSRC}/sitescooper.cf \
+ ${PREFIX}/share/examples/sitescooper/sitescooper.cf
.include "../../mk/bsd.pkg.mk"