aboutsummaryrefslogtreecommitdiffstats
path: root/chinese/chiconv
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2014-01-09 15:20:37 +0800
committervanilla <vanilla@FreeBSD.org>2014-01-09 15:20:37 +0800
commit6ca821ace7a904cc4232d0eb8ea95001ee8c345d (patch)
tree126ec1587287202ea92d9ae62cb0d269db217678 /chinese/chiconv
parent75230006d6f6760512a3ff995d6357450a6e1398 (diff)
downloadfreebsd-ports-gnome-6ca821ace7a904cc4232d0eb8ea95001ee8c345d.tar.gz
freebsd-ports-gnome-6ca821ace7a904cc4232d0eb8ea95001ee8c345d.tar.zst
freebsd-ports-gnome-6ca821ace7a904cc4232d0eb8ea95001ee8c345d.zip
Add stagedir support.
Approved by: portmgr (blanket infrastructure)
Diffstat (limited to 'chinese/chiconv')
-rw-r--r--chinese/chiconv/Makefile1
-rw-r--r--chinese/chiconv/files/patch-Makefile11
2 files changed, 11 insertions, 1 deletions
diff --git a/chinese/chiconv/Makefile b/chinese/chiconv/Makefile
index f115f947b003..79fd6f09d7b9 100644
--- a/chinese/chiconv/Makefile
+++ b/chinese/chiconv/Makefile
@@ -18,7 +18,6 @@ GH_ACCOUNT= buganini
GH_COMMIT= 9501c80
MAKE_ARGS= PREFIX=${PREFIX}
-NO_STAGE= yes
PLIST_FILES= bin/chiconv
diff --git a/chinese/chiconv/files/patch-Makefile b/chinese/chiconv/files/patch-Makefile
new file mode 100644
index 000000000000..8761d9e65a6c
--- /dev/null
+++ b/chinese/chiconv/files/patch-Makefile
@@ -0,0 +1,11 @@
+--- Makefile.orig 2014-01-07 14:47:56.000000000 +0800
++++ Makefile 2014-01-07 14:48:06.000000000 +0800
+@@ -9,7 +9,7 @@ chiconv: chiconv.c
+ $(CC) ${CFLAGS} -o chiconv chiconv.c ${LIBS}
+
+ install:
+- install -m 555 chiconv ${PREFIX}/bin
++ install -m 555 chiconv $(DESTDIR)${PREFIX}/bin
+
+ clean:
+ rm -f chiconv