summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2007-12-27 12:48:38 +0000
committerobache <obache@pkgsrc.org>2007-12-27 12:48:38 +0000
commit99fb251533833d44975f833873833b5331c4a888 (patch)
treeb5ba49ad650550a101a0e3844c98bb20c499d58f /print
parent5d36ed6452b8aa030de3fce181d56e5f50ceefad (diff)
downloadpkgsrc-99fb251533833d44975f833873833b5331c4a888.tar.gz
* Use INSTALL_MAN instead of INSTALL_DATA for install manual.
* Need pre-created directories, then add DESTDIR support.
Diffstat (limited to 'print')
-rw-r--r--print/jcabc2ps/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/print/jcabc2ps/Makefile b/print/jcabc2ps/Makefile
index 7f3dc0adc27..4bcf9bc361b 100644
--- a/print/jcabc2ps/Makefile
+++ b/print/jcabc2ps/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2006/12/15 14:34:20 wiz Exp $
+# $NetBSD: Makefile,v 1.4 2007/12/27 12:48:38 obache Exp $
#
DISTNAME= jcabc2ps-src
@@ -13,8 +13,12 @@ COMMENT= Music typesetting program for abc
WRKSRC= ${WRKDIR}/jcabc2ps
+INSTALLATION_DIRS= bin ${PKGMANDIR}/cat1
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/jcabc2ps ${PREFIX}/bin/.
- ${INSTALL_DATA} ${WRKSRC}/doc/jcabc2ps.d ${PREFIX}/${PKGMANDIR}/cat1/jcabc2ps.0
+ ${INSTALL_PROGRAM} ${WRKSRC}/jcabc2ps ${DESTDIR}${PREFIX}/bin/.
+ ${INSTALL_MAN} ${WRKSRC}/doc/jcabc2ps.d ${DESTDIR}${PREFIX}/${PKGMANDIR}/cat1/jcabc2ps.0
.include "../../mk/bsd.pkg.mk"