1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-02 06:03:50 +00:00

- 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]
This commit is contained in:
Boris Samorodov 2006-10-01 11:05:32 +00:00
parent 657eacb846
commit 4751668a55
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=174227
2 changed files with 22 additions and 10 deletions

View File

@ -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>

View File

@ -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>