aboutsummaryrefslogtreecommitdiff
path: root/misc/libutf
diff options
context:
space:
mode:
authorDanilo Egea Gondolfo <danilo@FreeBSD.org>2013-12-09 13:56:40 +0000
committerDanilo Egea Gondolfo <danilo@FreeBSD.org>2013-12-09 13:56:40 +0000
commit886b9efff9b306f4b4e5d3a7bc8c0266a2918406 (patch)
tree69962d5b091c4b77ea8e03a66ec8fe51fe35dd61 /misc/libutf
parent3db6ff8458d117c8b4eedee96cbad961c1ad7d14 (diff)
downloadports-886b9efff9b306f4b4e5d3a7bc8c0266a2918406.tar.gz
ports-886b9efff9b306f4b4e5d3a7bc8c0266a2918406.zip
- Add stage support
- Limit line size in pkg-descr
Notes
Notes: svn path=/head/; revision=335983
Diffstat (limited to 'misc/libutf')
-rw-r--r--misc/libutf/Makefile10
-rw-r--r--misc/libutf/pkg-descr4
-rw-r--r--misc/libutf/pkg-plist2
3 files changed, 12 insertions, 4 deletions
diff --git a/misc/libutf/Makefile b/misc/libutf/Makefile
index da354131c742..223a4def26b9 100644
--- a/misc/libutf/Makefile
+++ b/misc/libutf/Makefile
@@ -15,7 +15,13 @@ GNU_CONFIGURE= YES
ALL_TARGET= tst
MAKE_ARGS= ETCDIR=${EXAMPLESDIR}
-MAN3= ure.3 utf.3
+do-install:
+ ${INSTALL_DATA} ${WRKSRC}/ure.h ${STAGEDIR}${PREFIX}/include
+ ${INSTALL_DATA} ${WRKSRC}/utf.h ${STAGEDIR}${PREFIX}/include
+ ${INSTALL_LIB} ${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
-NO_STAGE= yes
.include <bsd.port.mk>
diff --git a/misc/libutf/pkg-descr b/misc/libutf/pkg-descr
index 747cd532464a..694d30759931 100644
--- a/misc/libutf/pkg-descr
+++ b/misc/libutf/pkg-descr
@@ -1,7 +1,7 @@
This software is a library which implements UTF-8 support routines,
and uses those routines and others to implement UTF-8aware regular
expresions. Language collation sequences are specified in a text
-file, ${PREFIX}/share/examples/libutf/langcoll.utf, and feedback as to their correctness
-is appreciated.
+file, ${PREFIX}/share/examples/libutf/langcoll.utf, and feedback
+as to their correctness is appreciated.
Alistair G. Crooks
diff --git a/misc/libutf/pkg-plist b/misc/libutf/pkg-plist
index 1fac3d1b0a40..ee0c40128f59 100644
--- a/misc/libutf/pkg-plist
+++ b/misc/libutf/pkg-plist
@@ -1,5 +1,7 @@
include/ure.h
include/utf.h
+man/man3/ure.3.gz
+man/man3/utf.3.gz
lib/libutf.a
%%EXAMPLESDIR%%/langcoll.utf
@dirrm %%EXAMPLESDIR%%