aboutsummaryrefslogtreecommitdiff
path: root/misc/libutf
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2014-02-23 15:58:40 +0000
committerMartin Wilke <miwi@FreeBSD.org>2014-02-23 15:58:40 +0000
commit3c0ba34945b49d59f9fdb8aff80fd63d50764e02 (patch)
tree9e1ffa1e6327928e7eb348553195ae72131f9fe2 /misc/libutf
parentf71c0397a2ce4a01a1a5899b92937f3c6187cf51 (diff)
downloadports-3c0ba34945b49d59f9fdb8aff80fd63d50764e02.tar.gz
ports-3c0ba34945b49d59f9fdb8aff80fd63d50764e02.zip
Notes
Diffstat (limited to 'misc/libutf')
-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%%