summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2008-06-16 15:14:26 +0000
committerjoerg <joerg@pkgsrc.org>2008-06-16 15:14:26 +0000
commitead4c393b4483a7741cf49fed411a48380df933f (patch)
treec9d6bd255512b4bf2193c0ee827346db4d60b60d /pkgtools
parent3d2d1867a53aeb4184a672746462bfee4368ef61 (diff)
downloadpkgsrc-ead4c393b4483a7741cf49fed411a48380df933f.tar.gz
Fix DESTDIR.
Diffstat (limited to 'pkgtools')
-rw-r--r--pkgtools/autoswc/Makefile15
1 files changed, 7 insertions, 8 deletions
diff --git a/pkgtools/autoswc/Makefile b/pkgtools/autoswc/Makefile
index 895956a20a7..0974266c5b7 100644
--- a/pkgtools/autoswc/Makefile
+++ b/pkgtools/autoswc/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2008/06/12 02:14:42 joerg Exp $
+# $NetBSD: Makefile,v 1.15 2008/06/16 15:23:05 joerg Exp $
DISTNAME= autoswc-1.5
CATEGORIES= pkgtools sysutils
@@ -50,7 +50,7 @@ SUBST_SED.build+= -e 's|@PREFIX@|${PREFIX}|g'
SUBST_SED.build+= -e 's|@SH@|${SH}|g'
SUBST_SED.build+= -e 's|@SYSCONFDIR@|${PKG_SYSCONFDIR}|g'
-INSTALLATION_DIRS= ${PKGMANDIR}/man8 sbin
+INSTALLATION_DIRS= ${PKGMANDIR}/man8 sbin share/autoswc
do-extract:
${CP} ${FILESDIR}/autoswc.8 ${WRKSRC}
@@ -62,11 +62,10 @@ do-build:
@${DO_NADA}
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/autoswc ${PREFIX}/sbin
- ${INSTALL_DATA} ${WRKSRC}/autoswc.8 ${PREFIX}/${PKGMANDIR}/man8
- ${INSTALL_DATA_DIR} ${PREFIX}/share/autoswc
- ${INSTALL_DATA} ${WRKSRC}/autoswc.mk ${PREFIX}/share/autoswc
- ${INSTALL_DATA} ${WRKSRC}/config.site ${PREFIX}/share/autoswc
- ${INSTALL_DATA} ${FILESDIR}/configure.ac ${PREFIX}/share/autoswc
+ ${INSTALL_SCRIPT} ${WRKSRC}/autoswc ${DESTDIR}${PREFIX}/sbin
+ ${INSTALL_DATA} ${WRKSRC}/autoswc.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8
+ ${INSTALL_DATA} ${WRKSRC}/autoswc.mk ${DESTDIR}${PREFIX}/share/autoswc
+ ${INSTALL_DATA} ${WRKSRC}/config.site ${DESTDIR}${PREFIX}/share/autoswc
+ ${INSTALL_DATA} ${FILESDIR}/configure.ac ${DESTDIR}${PREFIX}/share/autoswc
.include "../../mk/bsd.pkg.mk"