aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2011-10-16 03:24:30 +0800
committerpav <pav@FreeBSD.org>2011-10-16 03:24:30 +0800
commit96c3e67f3ed9a46a89262f16297b53e15eb1d158 (patch)
tree8e8d56f80d220fa1d53800bc9d0aa613b07c3417 /devel
parent1cce780dd24be22b38b5a5d0f6fb24a0d5dd3e90 (diff)
downloadfreebsd-ports-gnome-96c3e67f3ed9a46a89262f16297b53e15eb1d158.tar.gz
freebsd-ports-gnome-96c3e67f3ed9a46a89262f16297b53e15eb1d158.tar.zst
freebsd-ports-gnome-96c3e67f3ed9a46a89262f16297b53e15eb1d158.zip
- Fix package to create empty directory on install as the port does
Reported by: pointyhat
Diffstat (limited to 'devel')
-rw-r--r--devel/maven-wrapper/Makefile3
-rw-r--r--devel/maven-wrapper/pkg-plist4
2 files changed, 5 insertions, 2 deletions
diff --git a/devel/maven-wrapper/Makefile b/devel/maven-wrapper/Makefile
index 47ffedc3e25e..853f4b5b7f9a 100644
--- a/devel/maven-wrapper/Makefile
+++ b/devel/maven-wrapper/Makefile
@@ -7,6 +7,7 @@
PORTNAME= maven-wrapper
PORTVERSION= 1
+PORTREVISION= 1
CATEGORIES= devel java
MASTER_SITES= # none
DISTFILES= # none
@@ -17,8 +18,6 @@ COMMENT= Wrapper script for the various installations of Maven
NO_BUILD= yes
SUB_FILES= mvn.sh
SUB_LIST= CAT=${CAT} FIND=${FIND} TAIL=${TAIL}
-PLIST_FILES= bin/mvn
-PLIST_DIRSTRY= etc/maven-wrapper/instances.d etc/maven-wrapper
do-fecth:
@${DO_NADA}
diff --git a/devel/maven-wrapper/pkg-plist b/devel/maven-wrapper/pkg-plist
new file mode 100644
index 000000000000..8fbbdb3e1e07
--- /dev/null
+++ b/devel/maven-wrapper/pkg-plist
@@ -0,0 +1,4 @@
+bin/mvn
+@exec mkdir -p %D/etc/maven-wrapper/instances.d
+@dirrmtry etc/maven-wrapper/instances.d
+@dirrmtry etc/maven-wrapper