aboutsummaryrefslogtreecommitdiff
path: root/ports-mgmt/pkgfe/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'ports-mgmt/pkgfe/Makefile')
-rw-r--r--ports-mgmt/pkgfe/Makefile18
1 files changed, 13 insertions, 5 deletions
diff --git a/ports-mgmt/pkgfe/Makefile b/ports-mgmt/pkgfe/Makefile
index 447836b75647..5d9bf2ddf27a 100644
--- a/ports-mgmt/pkgfe/Makefile
+++ b/ports-mgmt/pkgfe/Makefile
@@ -6,18 +6,22 @@
#
PORTNAME= pkgfe
-PORTVERSION= 20061003
+PORTVERSION= 20061204
CATEGORIES= sysutils
-MASTER_SITES= http://kodu.neti.ee/~madis555/pkgfe/releases/ \
+MASTER_SITES= http://helpfreebsd.net/pkgfe/releases/ \
+ http://kodu.neti.ee/~madis555/pkgfe/releases/ \
http://ketas.life.ee/pkgfe/releases/ \
http://ketas.si.pri.ee/pkgfe/releases/ \
+ http://pkgfe2.si.pri.ee/pkgfe/releases/
MAINTAINER= madis555@hot.ee
-COMMENT= Ncurses front-end to manage the ports collection
+COMMENT= Ncurses frontend for ports collection
RUN_DEPENDS= portupgrade:${PORTSDIR}/sysutils/portupgrade \
portaudit:${PORTSDIR}/security/portaudit
+MAN8= pkgfe.8
+
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 600033 && ( ${OSVERSION} < 504103 || ${OSVERSION} > 600000 )
@@ -26,11 +30,15 @@ RUN_DEPENDS+= portsnap:${PORTSDIR}/sysutils/portsnap
NO_BUILD= yes
-PLIST_FILES= sbin/pkgfe etc/pkgfe.conf.sample
-
do-install:
${REINPLACE_CMD} -e 's|%PREFIX%|${PREFIX}|g' ${WRKSRC}/pkgfe
${INSTALL_SCRIPT} ${WRKSRC}/pkgfe ${PREFIX}/sbin/pkgfe
${INSTALL_DATA} ${WRKSRC}/pkgfe.conf ${PREFIX}/etc/pkgfe.conf.sample
+ ${INSTALL_MAN} ${WRKSRC}/pkgfe.8 ${PREFIX}/man/man8
+
+post-install:
+ @if [ ! -f ${PREFIX}/etc/pkgfe.conf ]; then \
+ ${CP} -p ${PREFIX}/etc/pkgfe.conf.sample ${PREFIX}/etc/pkgfe.conf ; \
+ fi
.include <bsd.port.post.mk>