aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2014-02-23 23:58:40 +0800
committermiwi <miwi@FreeBSD.org>2014-02-23 23:58:40 +0800
commit66cb9a446c74d7456174c2016c18fe4d40ad3510 (patch)
tree9e1ffa1e6327928e7eb348553195ae72131f9fe2 /misc
parentd28758c9e5a2f27ce9471b47b7d99eeb0bfa21d1 (diff)
downloadfreebsd-ports-gnome-66cb9a446c74d7456174c2016c18fe4d40ad3510.tar.gz
freebsd-ports-gnome-66cb9a446c74d7456174c2016c18fe4d40ad3510.tar.zst
freebsd-ports-gnome-66cb9a446c74d7456174c2016c18fe4d40ad3510.zip
- Add License
- Stage support - Support PLIST_FILES PR: 185320 Submitted by: Ports Fury
Diffstat (limited to 'misc')
-rw-r--r--misc/libutf/Makefile16
-rw-r--r--misc/libutf/pkg-plist7
2 files changed, 11 insertions, 12 deletions
diff --git a/misc/libutf/Makefile b/misc/libutf/Makefile
index c1b2cb283ba9..891a9a73b65a 100644
--- a/misc/libutf/Makefile
+++ b/misc/libutf/Makefile
@@ -3,7 +3,7 @@
PORTNAME= libutf
PORTVERSION= 2.10
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= misc
MASTER_SITES= ftp://ftp.cs.yorku.ca/pub/wily/misc/ \
http://www.westley.demon.co.uk/src/
@@ -11,17 +11,23 @@ MASTER_SITES= ftp://ftp.cs.yorku.ca/pub/wily/misc/ \
MAINTAINER= ports@FreeBSD.org
COMMENT= UTF-8 character set support library, including regular expressions
-GNU_CONFIGURE= YES
+LICENSE= BSD
+
+GNU_CONFIGURE= yes
+MAKE_ARGS= ETCDIR="${DATADIR}"
ALL_TARGET= tst
-MAKE_ARGS= ETCDIR=${EXAMPLESDIR}
+
+PLIST_FILES= include/ure.h include/utf.h lib/libutf.a \
+ man/man3/ure.3.gz man/man3/utf.3.gz %%DATADIR%%/langcoll.utf
+PLIST_DIRS= %%DATADIR%%
do-install:
${INSTALL_DATA} ${WRKSRC}/ure.h ${STAGEDIR}${PREFIX}/include
${INSTALL_DATA} ${WRKSRC}/utf.h ${STAGEDIR}${PREFIX}/include
${INSTALL_DATA} ${WRKSRC}/libutf.a ${STAGEDIR}${PREFIX}/lib
- @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
- ${INSTALL_DATA} ${WRKSRC}/langcoll.utf ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_MAN} ${WRKSRC}/utf.3 ${STAGEDIR}${MAN3PREFIX}/man/man3
${INSTALL_MAN} ${WRKSRC}/ure.3 ${STAGEDIR}${MAN3PREFIX}/man/man3
+ @${MKDIR} ${STAGEDIR}${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/langcoll.utf ${STAGEDIR}${DATADIR}
.include <bsd.port.mk>
diff --git a/misc/libutf/pkg-plist b/misc/libutf/pkg-plist
deleted file mode 100644
index ee0c40128f59..000000000000
--- a/misc/libutf/pkg-plist
+++ /dev/null
@@ -1,7 +0,0 @@
-include/ure.h
-include/utf.h
-man/man3/ure.3.gz
-man/man3/utf.3.gz
-lib/libutf.a
-%%EXAMPLESDIR%%/langcoll.utf
-@dirrm %%EXAMPLESDIR%%