diff options
-rw-r--r-- | textproc/diffsplit/Makefile | 8 | ||||
-rw-r--r-- | textproc/docbook-website/Makefile | 17 | ||||
-rw-r--r-- | textproc/gdome2/Makefile | 6 |
3 files changed, 19 insertions, 12 deletions
diff --git a/textproc/diffsplit/Makefile b/textproc/diffsplit/Makefile index 81dece28b3e..a4f1abb1914 100644 --- a/textproc/diffsplit/Makefile +++ b/textproc/diffsplit/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 2007/03/13 16:03:08 ginsbach Exp $ +# $NetBSD: Makefile,v 1.2 2009/07/07 22:12:32 joerg Exp $ # FreeBSD Id: ports/textproc/diffsplit/Makefile,v 1.7 2006/12/22 13:43:54 barner Exp DISTNAME= diffsplit @@ -13,15 +13,19 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.pathname.com/~quinlan/software/diffsplit/ COMMENT= Splits a unified diff into pieces which patch one file each +PKG_DESTDIR_SUPPORT= user-destdir + NO_BUILD= YES WRKSRC= ${WRKDIR} REPLACE_PERL= diffsplit USE_TOOLS+= perl:run +INSTALLATION_DIRS= bin + do-extract: ${CP} ${DISTDIR}/${DIST_SUBDIR}/diffsplit ${WRKDIR} do-install: - ${INSTALL_SCRIPT} ${WRKDIR}/diffsplit ${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKDIR}/diffsplit ${DESTDIR}${PREFIX}/bin .include "../../mk/bsd.pkg.mk" diff --git a/textproc/docbook-website/Makefile b/textproc/docbook-website/Makefile index f4c0933dc6c..d1fe0c3ae00 100644 --- a/textproc/docbook-website/Makefile +++ b/textproc/docbook-website/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.25 2008/05/26 02:13:24 joerg Exp $ +# $NetBSD: Makefile,v 1.26 2009/07/07 22:12:02 joerg Exp $ # DISTNAME= docbook-website-2.6.0 @@ -10,6 +10,8 @@ MAINTAINER= grant@NetBSD.org HOMEPAGE= http://docbook.sourceforge.net/ COMMENT= DocBook XML DTD for building websites +PKG_DESTDIR_SUPPORT= user-destdir + DEPENDS+= docbook-simple-[0-9]*:../../textproc/docbook-simple DEPENDS+= docbook-xsl>=1.58:../../textproc/docbook-xsl @@ -25,18 +27,17 @@ EGDIR= ${PREFIX}/share/examples/docbook-website XML_CATALOGS= ${DTDDIR}/catalog.xml SGML_CATALOGS= ${DTDDIR}/catalog +INSTALLATION_DIRS= ${DOCDIR} ${DTDDIR} ${EGDIR} + do-install: cd ${WRKSRC} && ${FIND} . -name "*.orig" -exec ${RM} {} \; - ${INSTALL_DATA_DIR} ${DOCDIR} - ${INSTALL_DATA_DIR} ${DTDDIR} - ${INSTALL_DATA_DIR} ${EGDIR} cd ${WRKSRC} && pax -rwpm ChangeLog README VERSION \ RELEASE-NOTES.html RELEASE-NOTES.txt RELEASE-NOTES.xml \ - TODO ${DOCDIR} - cd ${WRKSRC}/example && pax -rwpm . ${EGDIR} + TODO ${DESTDIR}${DOCDIR} + cd ${WRKSRC}/example && pax -rwpm . ${DESTDIR}${EGDIR} cd ${WRKSRC} && pax -rwpm VERSION extensions schema xsl \ - ${DTDDIR} - ${INSTALL_DATA} ${WRKSRC}/catalog.xml ${WRKSRC}/catalog ${DTDDIR} + ${DESTDIR}${DTDDIR} + ${INSTALL_DATA} ${WRKSRC}/catalog.xml ${WRKSRC}/catalog ${DESTDIR}${DTDDIR} .include "../../textproc/xmlcatmgr/catalogs.mk" .include "../../mk/bsd.pkg.mk" diff --git a/textproc/gdome2/Makefile b/textproc/gdome2/Makefile index 4c9cd2b0dcd..fdc244ce75f 100644 --- a/textproc/gdome2/Makefile +++ b/textproc/gdome2/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.7 2006/02/05 23:11:02 joerg Exp $ +# $NetBSD: Makefile,v 1.8 2009/07/07 22:14:56 joerg Exp $ DISTNAME= gdome2-0.8.1 PKGREVISION= 2 @@ -9,10 +9,12 @@ MAINTAINER= adam@NetBSD.org HOMEPAGE= http://gdome2.cs.unibo.it/ COMMENT= Gnome DOM (Document Object Model) engine +PKG_DESTDIR_SUPPORT= user-destdir + USE_LIBTOOL= yes USE_TOOLS+= pkg-config GNU_CONFIGURE= yes -CONFIGURE_ARGS+= --with-html-dir=${PREFIX}/share/doc/html +CONFIGURE_ARGS+= --with-html-dir=${DESTDIR}${PREFIX}/share/doc/html PKGCONFIG_OVERRIDE= ${WRKSRC}/gdome2.pc.in .include "../../devel/glib2/buildlink3.mk" |