diff options
Diffstat (limited to 'misc/libutf')
-rw-r--r-- | misc/libutf/Makefile | 16 | ||||
-rw-r--r-- | misc/libutf/pkg-plist | 7 |
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%% |