1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

- Add License

- Stage support
- Support PLIST_FILES

PR:		185320
Submitted by:	Ports Fury
This commit is contained in:
Martin Wilke 2014-02-23 15:58:40 +00:00
parent f71c0397a2
commit 3c0ba34945
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=345743
2 changed files with 11 additions and 12 deletions

View File

@ -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>

View File

@ -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%%