diff options
author | Boris Samorodov <bsam@FreeBSD.org> | 2006-10-01 11:05:32 +0000 |
---|---|---|
committer | Boris Samorodov <bsam@FreeBSD.org> | 2006-10-01 11:05:32 +0000 |
commit | 4751668a550d2d03c5ad2c9bbe8d15d3bc7ee866 (patch) | |
tree | cc4ca88ce2a41ef315591ac65b348b6e734dc140 /ports-mgmt | |
parent | 657eacb846b93560193e73254a6cf2095a8b2d0e (diff) | |
download | ports-4751668a550d2d03c5ad2c9bbe8d15d3bc7ee866.tar.gz ports-4751668a550d2d03c5ad2c9bbe8d15d3bc7ee866.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]
Notes
Notes:
svn path=/head/; revision=174227
Diffstat (limited to 'ports-mgmt')
-rw-r--r-- | ports-mgmt/pkgfe/Makefile | 16 |
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> |