diff options
author | bsam <bsam@FreeBSD.org> | 2006-10-01 19:05:32 +0800 |
---|---|---|
committer | bsam <bsam@FreeBSD.org> | 2006-10-01 19:05:32 +0800 |
commit | 5e487a1450ad156ff5893ca10a3d01e29e7ef874 (patch) | |
tree | ae5619e3e00b6a7598ef1244e8aea8f1a292acb1 /sysutils | |
parent | c8aa973a4b9aa4befa34c0ac61023bd6384cb0c4 (diff) | |
download | freebsd-ports-gnome-5e487a1450ad156ff5893ca10a3d01e29e7ef874.tar.gz freebsd-ports-gnome-5e487a1450ad156ff5893ca10a3d01e29e7ef874.tar.zst freebsd-ports-gnome-5e487a1450ad156ff5893ca10a3d01e29e7ef874.zip |
- 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]
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/pkgfe/Makefile | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/sysutils/pkgfe/Makefile b/sysutils/pkgfe/Makefile index 579cf61b4645..97e63676f316 100644 --- a/sysutils/pkgfe/Makefile +++ b/sysutils/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> |