From 66cb9a446c74d7456174c2016c18fe4d40ad3510 Mon Sep 17 00:00:00 2001 From: miwi Date: Sun, 23 Feb 2014 15:58:40 +0000 Subject: - Add License - Stage support - Support PLIST_FILES PR: 185320 Submitted by: Ports Fury --- misc/libutf/Makefile | 16 +++++++++++----- misc/libutf/pkg-plist | 7 ------- 2 files changed, 11 insertions(+), 12 deletions(-) delete mode 100644 misc/libutf/pkg-plist (limited to 'misc') 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 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%% -- cgit