diff options
author | Olli Hauer <ohauer@FreeBSD.org> | 2010-12-04 18:12:06 +0000 |
---|---|---|
committer | Olli Hauer <ohauer@FreeBSD.org> | 2010-12-04 18:12:06 +0000 |
commit | 16478b3f54546da6e9fce1d40d6fc06bdd90fa1a (patch) | |
tree | 4206697ceab212287c5ef18b20ee2fc7032211d1 /ports-mgmt | |
parent | - Sort MAN3 and PLIST (diff) |
- update genplist to version 0.6
New Features:
==============
- Handling of: PLIST_FILES, PORTEXAMPLES, PORTDOCS, PLIST_DIRS, PLIST_DIRSTRY
- Specific return codes which can be used for automated testing
- Ability to execute external scripts ( ~/.genplist/${portname} )
Sample script for the nmap port:
=================================
$> cat ~/.genplist/nmap
#!/bin/sh
sed -i '' -E -e 's|^(share/ncat/)|%%WITHSSL%%\1|g' \
-e 's|^(@dirrm share/ncat)|%%WITHSSL%%\1|' ${1}
PR: ports/152836
Submitted by: ohauer
Approved by: Jason Bacon <jwbacon _at_ tds.net> (maintainer) via mail.
Notes
Notes:
svn path=/head/; revision=265686
Diffstat (limited to 'ports-mgmt')
-rw-r--r-- | ports-mgmt/genplist/Makefile | 6 | ||||
-rw-r--r-- | ports-mgmt/genplist/distinfo | 5 | ||||
-rw-r--r-- | ports-mgmt/genplist/files/patch-genplist | 19 |
3 files changed, 3 insertions, 27 deletions
diff --git a/ports-mgmt/genplist/Makefile b/ports-mgmt/genplist/Makefile index 9e869524ee37..c299b9c4ac80 100644 --- a/ports-mgmt/genplist/Makefile +++ b/ports-mgmt/genplist/Makefile @@ -6,8 +6,7 @@ # PORTNAME= genplist -PORTVERSION= 0.5 -PORTREVISION= 1 +PORTVERSION= 0.6 CATEGORIES= ports-mgmt MASTER_SITES= http://personalpages.tds.net/~jwbacon/Ports/distfiles/ \ http://jbacon.dyndns.org/~bacon/Ports/distfiles/ @@ -25,7 +24,4 @@ do-install: @${INSTALL_SCRIPT} ${WRKSRC}/genplist ${PREFIX}/bin @${INSTALL_MAN} ${WRKSRC}/genplist.1 ${PREFIX}/man/man1 -post-patch: - @${REINPLACE_CMD} 's|/etc/mtree|$${PORTSDIR=/usr/ports}/Templates|' ${WRKSRC}/genplist - .include <bsd.port.mk> diff --git a/ports-mgmt/genplist/distinfo b/ports-mgmt/genplist/distinfo index 446db143b06e..2ecbbaf42146 100644 --- a/ports-mgmt/genplist/distinfo +++ b/ports-mgmt/genplist/distinfo @@ -1,3 +1,2 @@ -MD5 (genplist-0.5.tar.gz) = 942c6a367822bef552cd8dba77aeef33 -SHA256 (genplist-0.5.tar.gz) = 31b1f5977b1277b68de1b6cf1af08e129fcc0bacc69749fda085fec723905f2f -SIZE (genplist-0.5.tar.gz) = 4444 +SHA256 (genplist-0.6.tar.gz) = 0a3758c703b4c75715a57cb6f5a97df3ef2ed532333bd8c3e978ac1f9ff3346b +SIZE (genplist-0.6.tar.gz) = 5712 diff --git a/ports-mgmt/genplist/files/patch-genplist b/ports-mgmt/genplist/files/patch-genplist deleted file mode 100644 index 1b7070acc882..000000000000 --- a/ports-mgmt/genplist/files/patch-genplist +++ /dev/null @@ -1,19 +0,0 @@ ---- ./genplist.orig 2010-08-13 20:57:55.000000000 +0200 -+++ ./genplist 2010-09-05 23:01:20.000000000 +0200 -@@ -15,7 +15,7 @@ - porttype="local" - portname=`awk '($1 == "PORTNAME=") || ($1 == "PORTNAME?=") { print $2 }' Makefile` - echo "PORTNAME = ${portname}" -- prefix=$1/${portname} -+ prefix=`echo $1/${portname} | tr -s '//' '/'` - echo "${prefix}" > genplist.prefix - echo "PREFIX = ${prefix}" - -@@ -76,6 +76,7 @@ - sed "s|share/${portname}|%%DATADIR%%|g" < pkg-plist.new \ - | sed "s|share/doc/${portname}|%%DOCSDIR%%|g" \ - | sed "s|share/examples/${portname}|%%EXAMPLESDIR%%|g" \ -+ | sed "s|share/java/classes|%%JAVAJARDIR%%|g" \ - | sed "s|www/${portname}|%%WWWDIR%%|g" \ - | sed "s|etc/${portname}|%%ETCDIR%%|g" \ - | awk -F '.' ' { if (($2 == "so") && (NF == 4)) \ |