aboutsummaryrefslogtreecommitdiff
path: root/ports-mgmt
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2006-12-04 22:29:43 +0000
committerMartin Wilke <miwi@FreeBSD.org>2006-12-04 22:29:43 +0000
commit91480543db573aa08e2750be09341123a3711b23 (patch)
tree9169f0e79301e9150aed2e5e98c0fc60d9c03cf9 /ports-mgmt
parentfc5daae9e0ea20764160fdb74d0e0413c14e6933 (diff)
downloadports-91480543db573aa08e2750be09341123a3711b23.tar.gz
ports-91480543db573aa08e2750be09341123a3711b23.zip
Notes
Diffstat (limited to 'ports-mgmt')
-rw-r--r--ports-mgmt/pkgfe/Makefile18
-rw-r--r--ports-mgmt/pkgfe/distinfo6
-rw-r--r--ports-mgmt/pkgfe/pkg-descr4
-rw-r--r--ports-mgmt/pkgfe/pkg-plist4
4 files changed, 22 insertions, 10 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>
diff --git a/ports-mgmt/pkgfe/distinfo b/ports-mgmt/pkgfe/distinfo
index 08baacd11c2b..65fc2baf48b8 100644
--- a/ports-mgmt/pkgfe/distinfo
+++ b/ports-mgmt/pkgfe/distinfo
@@ -1,3 +1,3 @@
-MD5 (pkgfe-20061003.tar.gz) = 94f39cbd18f769586f99ee09fedb924b
-SHA256 (pkgfe-20061003.tar.gz) = 86a39f29b70a61334f81898f81b3cb3ce9de8d7478e84e9753ab8b2a0b15dd5b
-SIZE (pkgfe-20061003.tar.gz) = 5285
+MD5 (pkgfe-20061204.tar.gz) = 7b698788e5fbbd0b378e24e308b39897
+SHA256 (pkgfe-20061204.tar.gz) = bef09c0daa4508c14a7e0909ed74fd96088e4b086a1c6726a7cd4fdeabbc53b9
+SIZE (pkgfe-20061204.tar.gz) = 7099
diff --git a/ports-mgmt/pkgfe/pkg-descr b/ports-mgmt/pkgfe/pkg-descr
index 7ccc4a4c4d0c..c5bbe9733173 100644
--- a/ports-mgmt/pkgfe/pkg-descr
+++ b/ports-mgmt/pkgfe/pkg-descr
@@ -1,5 +1,5 @@
-Package Frontend is a ncurses based, graphical front-end to manage
+Package Frontend is a ncurses based, graphical frontend for
the FreeBSD ports collection.
Author: Sulev-Madis Silber <madis555@hot.ee>
-WWW: http://ketas.life.ee/pkgfe
+WWW: http://helpfreebsd.net/pkgfe/
diff --git a/ports-mgmt/pkgfe/pkg-plist b/ports-mgmt/pkgfe/pkg-plist
new file mode 100644
index 000000000000..273713147e4e
--- /dev/null
+++ b/ports-mgmt/pkgfe/pkg-plist
@@ -0,0 +1,4 @@
+sbin/pkgfe
+@unexec if cmp -s %D/etc/pkgfe.conf.sample %D/etc/pkgfe.conf; then rm -f %D/etc/pkgfe.conf; fi
+etc/pkgfe.conf.sample
+@exec if [ ! -f %B/pkgfe.conf ]; then cp -p %D/%F %B/pkgfe.conf; fi