aboutsummaryrefslogtreecommitdiff
path: root/ports-mgmt/portmaster
diff options
context:
space:
mode:
authorDoug Barton <dougb@FreeBSD.org>2010-08-07 23:04:57 +0000
committerDoug Barton <dougb@FreeBSD.org>2010-08-07 23:04:57 +0000
commitc05052db0ccd246169849ef9258e4da06ff87b6a (patch)
tree721d1737e6bc23cd93f6c75cf7cb8a18cc4a0787 /ports-mgmt/portmaster
parentab84f64b4a36418bfe74c74f14368c71f6e99a5d (diff)
downloadports-c05052db0ccd246169849ef9258e4da06ff87b6a.tar.gz
ports-c05052db0ccd246169849ef9258e4da06ff87b6a.zip
Notes
Diffstat (limited to 'ports-mgmt/portmaster')
-rw-r--r--ports-mgmt/portmaster/Makefile27
-rw-r--r--ports-mgmt/portmaster/distinfo6
2 files changed, 23 insertions, 10 deletions
diff --git a/ports-mgmt/portmaster/Makefile b/ports-mgmt/portmaster/Makefile
index 23747e837394..65e9d0fa971d 100644
--- a/ports-mgmt/portmaster/Makefile
+++ b/ports-mgmt/portmaster/Makefile
@@ -8,10 +8,11 @@
#
PORTNAME= portmaster
-PORTVERSION= 2.32
+PORTVERSION= 3.0
CATEGORIES= ports-mgmt
-MASTER_SITES= # none
-DISTFILES= # none
+MASTER_SITES= http://dougbarton.us/Downloads/
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${DISTNAME}${EXTRACT_SUFX}.asc
+EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= dougb@FreeBSD.org
COMMENT= Manage your ports without external databases or languages
@@ -21,10 +22,7 @@ LICENSE= BSD
OPTIONS= BASH "Install programmable completions for Bash" off \
ZSH "Install programmable completions for zsh" off
-NO_BUILD= yes
-SUB_FILES= portmaster.sh
-
-PLIST_FILES= sbin/portmaster
+PLIST_FILES= sbin/portmaster etc/portmaster.rc.sample
MAN8= portmaster.8
@@ -39,18 +37,27 @@ PLIST_DIRS+= share/portmaster
PLIST_FILES+= share/zsh/site-functions/_portmaster
.endif
+verify: checksum
+ gpg --verify ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}.asc
+
+do-build:
+.for file in portmaster.sh portmaster.rc.sample
+ ${SED} -e 's#/usr/local#${LOCALBASE}#g' ${WRKSRC}/${file}.in \
+ > ${WRKDIR}/${file}
+.endfor
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/portmaster.sh ${PREFIX}/sbin/portmaster
- ${INSTALL_MAN} ${FILESDIR}/portmaster.8 ${MAN8PREFIX}/man/man8
+ ${INSTALL_DATA} ${WRKDIR}/portmaster.rc.sample ${PREFIX}/etc
+ ${INSTALL_MAN} ${WRKSRC}/portmaster.8 ${MAN8PREFIX}/man/man8
post-install:
.if defined(WITH_BASH)
${MKDIR} ${PREFIX}/share/portmaster
- ${INSTALL_DATA} ${FILESDIR}/bash-completions ${PREFIX}/share/portmaster
+ ${INSTALL_DATA} ${WRKSRC}/bash-completions ${PREFIX}/share/portmaster
.endif
.if defined(WITH_ZSH)
${MKDIR} ${PREFIX}/share/zsh/site-functions
- ${INSTALL_DATA} ${FILESDIR}/zsh-completions \
+ ${INSTALL_DATA} ${WRKSRC}/zsh-completions \
${PREFIX}/share/zsh/site-functions/_portmaster
.endif
diff --git a/ports-mgmt/portmaster/distinfo b/ports-mgmt/portmaster/distinfo
new file mode 100644
index 000000000000..a5e12c6ec697
--- /dev/null
+++ b/ports-mgmt/portmaster/distinfo
@@ -0,0 +1,6 @@
+MD5 (portmaster-3.0.tar.gz) = aabb2bb72ff8566028e46fcf1801437c
+SHA256 (portmaster-3.0.tar.gz) = 2adfbd10297099b25c51abc9602723e1f87ecbda1f5686c22fc73d326a4b3df0
+SIZE (portmaster-3.0.tar.gz) = 38274
+MD5 (portmaster-3.0.tar.gz.asc) = 1a35796c961b3b0f218b2eff57bc294f
+SHA256 (portmaster-3.0.tar.gz.asc) = 4bac84a9d1f2206e461167dec59ef36d1ecd5e723213941a9cae5093e962e2a6
+SIZE (portmaster-3.0.tar.gz.asc) = 488