summaryrefslogtreecommitdiff
path: root/ports-mgmt/pkgfe
diff options
context:
space:
mode:
authorBoris Samorodov <bsam@FreeBSD.org>2006-10-01 11:05:32 +0000
committerBoris Samorodov <bsam@FreeBSD.org>2006-10-01 11:05:32 +0000
commit4751668a550d2d03c5ad2c9bbe8d15d3bc7ee866 (patch)
treecc4ca88ce2a41ef315591ac65b348b6e734dc140 /ports-mgmt/pkgfe
parent- Mark gtetrinet 0.7.10 safe (diff)
- fix the portsnap dependency for systems where it is already in base; [1]
- make sure we don't overwrite user's configuration file in case of [1] upgrade; - bump PORTREVISION. PR: 103858 [1] Submitted by: Sulev-Madis Silber <madis555 at hot.ee> (maintainer) [1]
Notes
Notes: svn path=/head/; revision=174227
Diffstat (limited to 'ports-mgmt/pkgfe')
-rw-r--r--ports-mgmt/pkgfe/Makefile16
1 files changed, 11 insertions, 5 deletions
diff --git a/ports-mgmt/pkgfe/Makefile b/ports-mgmt/pkgfe/Makefile
index 579cf61b4645..97e63676f316 100644
--- a/ports-mgmt/pkgfe/Makefile
+++ b/ports-mgmt/pkgfe/Makefile
@@ -7,6 +7,7 @@
PORTNAME= pkgfe
PORTVERSION= 20060929
+PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= http://kodu.neti.ee/~madis555/pkgfe/releases/ \
http://ketas.life.ee/pkgfe/releases/ \
@@ -16,16 +17,21 @@ MAINTAINER= madis555@hot.ee
COMMENT= Ncurses front-end to manage the ports collection
RUN_DEPENDS= portupgrade:${PORTSDIR}/sysutils/portupgrade \
- portaudit:${PORTSDIR}/security/portaudit \
- portsnap:${PORTSDIR}/sysutils/portsnap
+ portaudit:${PORTSDIR}/security/portaudit
+
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 600033 && ( ${OSVERSION} < 504103 || ${OSVERSION} > 600000 )
+RUN_DEPENDS+= portsnap:${PORTSDIR}/sysutils/portsnap
+.endif
NO_BUILD= yes
-PLIST_FILES= sbin/pkgfe etc/pkgfe.conf
+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
+ ${INSTALL_DATA} ${WRKSRC}/pkgfe.conf ${PREFIX}/etc/pkgfe.conf.sample
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>