aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2006-12-05 06:29:43 +0800
committermiwi <miwi@FreeBSD.org>2006-12-05 06:29:43 +0800
commite91f64362d7bc5598723bb6944023c4463f5d1f1 (patch)
treeffe9f92489178145c74b6f62829a91b20c730df4 /sysutils
parentffd564ae71387a5f7f640117886cf3a74659d59f (diff)
downloadfreebsd-ports-gnome-e91f64362d7bc5598723bb6944023c4463f5d1f1.tar.gz
freebsd-ports-gnome-e91f64362d7bc5598723bb6944023c4463f5d1f1.tar.zst
freebsd-ports-gnome-e91f64362d7bc5598723bb6944023c4463f5d1f1.zip
- Update to 20061204
PR: ports/106288 Submitted by: Sulev-Madis Silber <madis555@hot.ee> (maintainer)
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/pkgfe/Makefile18
-rw-r--r--sysutils/pkgfe/distinfo6
-rw-r--r--sysutils/pkgfe/pkg-descr4
-rw-r--r--sysutils/pkgfe/pkg-plist4
4 files changed, 22 insertions, 10 deletions
diff --git a/sysutils/pkgfe/Makefile b/sysutils/pkgfe/Makefile
index 447836b75647..5d9bf2ddf27a 100644
--- a/sysutils/pkgfe/Makefile
+++ b/sysutils/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/sysutils/pkgfe/distinfo b/sysutils/pkgfe/distinfo
index 08baacd11c2b..65fc2baf48b8 100644
--- a/sysutils/pkgfe/distinfo
+++ b/sysutils/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/sysutils/pkgfe/pkg-descr b/sysutils/pkgfe/pkg-descr
index 7ccc4a4c4d0c..c5bbe9733173 100644
--- a/sysutils/pkgfe/pkg-descr
+++ b/sysutils/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/sysutils/pkgfe/pkg-plist b/sysutils/pkgfe/pkg-plist
new file mode 100644
index 000000000000..273713147e4e
--- /dev/null
+++ b/sysutils/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