summaryrefslogtreecommitdiff
path: root/devel/gindent
diff options
context:
space:
mode:
authorjperkin <jperkin>2012-12-06 11:38:19 +0000
committerjperkin <jperkin>2012-12-06 11:38:19 +0000
commitd1075ac5e177cf818e38cd0f1505c26f36dc3a71 (patch)
tree555081b2fb5c41657ee3f23bba4dfdd954cbed5e /devel/gindent
parent0a481916e940c97ca2e8df1f9108861623f22bb1 (diff)
downloadpkgsrc-d1075ac5e177cf818e38cd0f1505c26f36dc3a71.tar.gz
Add PKGGNUDIR support.
Diffstat (limited to 'devel/gindent')
-rw-r--r--devel/gindent/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/devel/gindent/Makefile b/devel/gindent/Makefile
index ee7f14c5186..a3b4ec2689f 100644
--- a/devel/gindent/Makefile
+++ b/devel/gindent/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.51 2012/10/31 11:17:00 asau Exp $
+# $NetBSD: Makefile,v 1.52 2012/12/06 11:40:58 jperkin Exp $
#
DISTNAME= indent-2.2.9
@@ -22,10 +22,12 @@ MAKE_JOBS_SAFE= no
AUTO_MKDIRS= yes
+.include "../../mk/bsd.prefs.mk"
+
post-install:
- ${LN} -sf ${PREFIX}/bin/gindent ${DESTDIR}${PREFIX}/gnu/bin/indent
- ${LN} -sf ${PREFIX}/${PKGMANDIR}/man1/gindent.1 ${DESTDIR}${PREFIX}/gnu/man/man1/indent.1
- ${LN} -sf ${PREFIX}/bin/gtexinfo2man ${DESTDIR}${PREFIX}/gnu/bin/texinfo2man
+ ${LN} -sf ${PREFIX}/bin/gindent ${DESTDIR}${PREFIX}/${PKGGNUDIR}bin/indent
+ ${LN} -sf ${PREFIX}/${PKGMANDIR}/man1/gindent.1 ${DESTDIR}${PREFIX}/${PKGGNUDIR}${PKGMANDIR}/man1/indent.1
+ ${LN} -sf ${PREFIX}/bin/gtexinfo2man ${DESTDIR}${PREFIX}/${PKGGNUDIR}bin/texinfo2man
CONFIGURE_ARGS+= --program-prefix=g