summaryrefslogtreecommitdiff
path: root/devel/rx
diff options
context:
space:
mode:
authorjlam <jlam>2006-03-30 03:44:41 +0000
committerjlam <jlam>2006-03-30 03:44:41 +0000
commit3272d962a7b8a5f586720339745ef62d94c53e3c (patch)
treee284cce507534ba20c3380c2f5b60203bf4526fe /devel/rx
parentd1922e478d4b3761333f5c03452852f68a893e78 (diff)
downloadpkgsrc-3272d962a7b8a5f586720339745ef62d94c53e3c.tar.gz
* Honor PKGINFODIR.
* List the info files directly in the PLIST.
Diffstat (limited to 'devel/rx')
-rw-r--r--devel/rx/Makefile12
-rw-r--r--devel/rx/PLIST3
2 files changed, 10 insertions, 5 deletions
diff --git a/devel/rx/Makefile b/devel/rx/Makefile
index 0ec8ed8c0a7..84d60818df8 100644
--- a/devel/rx/Makefile
+++ b/devel/rx/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2006/03/04 21:29:29 jlam Exp $
+# $NetBSD: Makefile,v 1.21 2006/03/30 03:44:43 jlam Exp $
DISTNAME= rx-1.5
PKGREVISION= 1
@@ -12,8 +12,7 @@ COMMENT= Fast replacement for the GNU regex library
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
-
-INFO_FILES= rx.info
+INFO_FILES= # PLIST
# When the API changes and breaks binary-compatibility with the previous
# version, increment the MAJOR by 1 and reset the MINOR to 0. Otherwise,
@@ -23,7 +22,12 @@ RX_MAJOR= 0
RX_MINOR= 0
MAKE_ENV+= RX_MAJOR=${RX_MAJOR:Q} RX_MINOR=${RX_MINOR:Q}
+INSTALLATION_DIRS= ${PKGINFODIR}
+
post-install:
- cd ${WRKSRC}/doc; ${INSTALL_DATA} ${INFO_FILES} ${PREFIX}/info
+ cd ${WRKSRC}/doc; for f in rx.info rx.info-[0-9]*; do \
+ ${TEST} ! -f "$$f" || \
+ ${INSTALL_DATA} "$$f" ${PREFIX}/${PKGINFODIR}; \
+ done
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/rx/PLIST b/devel/rx/PLIST
index 2169a55655f..b058bb6e499 100644
--- a/devel/rx/PLIST
+++ b/devel/rx/PLIST
@@ -1,3 +1,4 @@
-@comment $NetBSD: PLIST,v 1.5 2004/09/22 08:09:29 jlam Exp $
+@comment $NetBSD: PLIST,v 1.6 2006/03/30 03:44:43 jlam Exp $
include/rxposix.h
+info/rx.info
lib/librx.la