summaryrefslogtreecommitdiff
path: root/devel/libgetopt/Makefile
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2007-01-07 09:13:46 +0000
committerrillig <rillig@pkgsrc.org>2007-01-07 09:13:46 +0000
commit2829e658f2ba62cb77f3f151f468ec8de1549bd5 (patch)
tree77b9cef42b625156081609e43af1544d569620be /devel/libgetopt/Makefile
parent5997a7db2d5af7de47f411825619ffc3689f1ce2 (diff)
downloadpkgsrc-2829e658f2ba62cb77f3f151f468ec8de1549bd5.tar.gz
Mechanically replaced man/* with ${PKGMANDIR}/* in the definition of
INSTALLATION_DIRS, as well as all occurrences of ${PREFIX}/man with ${PREFIX}/${PKGMANDIR}. Fixes PR 35265, although I did not use the patch provided therein.
Diffstat (limited to 'devel/libgetopt/Makefile')
-rw-r--r--devel/libgetopt/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/devel/libgetopt/Makefile b/devel/libgetopt/Makefile
index 3f274e1a8c3..2504fdb7c9c 100644
--- a/devel/libgetopt/Makefile
+++ b/devel/libgetopt/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.24 2006/03/04 21:29:17 jlam Exp $
+# $NetBSD: Makefile,v 1.25 2007/01/07 09:13:51 rillig Exp $
#
DISTNAME= libgetopt-1.4.1
@@ -20,7 +20,7 @@ MAKEFLAGS+= NETBSD_COMPATIBLE=YES
CFLAGS+= -DREPLACE_GETOPT
.endif
-INSTALLATION_DIRS= include lib man/man3
+INSTALLATION_DIRS= include lib ${PKGMANDIR}/man3
do-extract:
${MKDIR} ${WRKSRC}
@@ -34,6 +34,6 @@ do-build:
do-install:
${LIBTOOL} --mode=install ${INSTALL_LIB} ${WRKSRC}/libgetopt.la ${PREFIX}/lib/
${INSTALL_DATA} ${WRKSRC}/getopt.h ${PREFIX}/include/
- ${INSTALL_MAN} ${WRKSRC}/getopt_long.3 ${PREFIX}/man/man3/
+ ${INSTALL_MAN} ${WRKSRC}/getopt_long.3 ${PREFIX}/${PKGMANDIR}/man3/
.include "../../mk/bsd.pkg.mk"