aboutsummaryrefslogtreecommitdiffstats
path: root/irc/ptlink-services/Makefile
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2004-11-03 06:49:39 +0800
committeredwin <edwin@FreeBSD.org>2004-11-03 06:49:39 +0800
commitc34a61d8134a3ef1c8961c038822f27b973986cb (patch)
treec8d7e4d17719999f9d4008c84fcf76a414c08e5d /irc/ptlink-services/Makefile
parent66c4dd479746327633b16cab71fbd45ba5cd2493 (diff)
downloadfreebsd-ports-gnome-c34a61d8134a3ef1c8961c038822f27b973986cb.tar.gz
freebsd-ports-gnome-c34a61d8134a3ef1c8961c038822f27b973986cb.tar.zst
freebsd-ports-gnome-c34a61d8134a3ef1c8961c038822f27b973986cb.zip
Maintainer update:
- make pointyhat / kris happy - install configuration files in etc/ptlink
Diffstat (limited to 'irc/ptlink-services/Makefile')
-rw-r--r--irc/ptlink-services/Makefile32
1 files changed, 20 insertions, 12 deletions
diff --git a/irc/ptlink-services/Makefile b/irc/ptlink-services/Makefile
index f30e1459fcfb..93266bac3338 100644
--- a/irc/ptlink-services/Makefile
+++ b/irc/ptlink-services/Makefile
@@ -5,21 +5,29 @@
# $FreeBSD$
#
-PORTNAME= Services
-PORTVERSION= 2.25.1
-CATEGORIES= irc
-MASTER_SITES= ftp://ftp.sunsite.dk/projects/ptlink/services2/
-PKGNAMEPREFIX= PTlink-
-DISTNAME= PTlink.${PORTNAME}${PORTVERSION}
+PORTNAME= Services
+PORTVERSION= 2.25.1
+PORTREVISION= 1
+CATEGORIES= irc
+MASTER_SITES= ftp://ftp.sunsite.dk/projects/ptlink/services2/ \
+ http://www.rootxs.org/pub/FreeBSD/distfiles/
+PKGNAMEPREFIX= PTlink-
+DISTNAME= PTlink.${PORTNAME}${PORTVERSION}
-MAINTAINER= dennis@rootxs.org
-COMMENT= PTlink IRC services
+PATCH_DIST_STRIP= -p1
-GNU_CONFIGURE= yes
-USE_GMAKE= yes
+MAINTAINER= dennis@rootxs.org
+COMMENT= PTlink IRC services
+
+GNU_CONFIGURE= yes
+USE_GMAKE= yes
+USE_PERL5= yes
+
+SYSCONFDIR= ${PREFIX}/etc/ptlink
+CONFIGURE_ARGS= --sysconfdir=${SYSCONFDIR}
post-install:
- @${MV} ${PREFIX}/etc/example.conf ${PREFIX}/etc/services.conf.sample
- @${SED} 's,%%PREFIX%%,${PREFIX},g' < ${PKGMESSAGE}
+ @${INSTALL_DATA} ${FILESDIR}/*.sample ${SYSCONFDIR}
+ @${SED} 's,%%SYSCONFDIR%%,${SYSCONFDIR},g' < ${PKGMESSAGE}
.include <bsd.port.mk>