Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

user-destdir support

  • Loading branch information...
commit 69c79d44295f935c231248b5d71a1d15355a16b7 1 parent 001c273
joerg authored
View
8 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"
View
17 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"
View
6 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"
Please sign in to comment.
Something went wrong with that request. Please try again.