summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2001-07-29 05:34:38 +0000
committertron <tron@pkgsrc.org>2001-07-29 05:34:38 +0000
commit215cefa1f1854c2cd70c4552bcde0e47ce7cc521 (patch)
tree807482d7af4ae079d21e6200b5783baaed95e015 /sysutils
parent3a85b0da6a088eead20618342dc62c99df7b583e (diff)
downloadpkgsrc-215cefa1f1854c2cd70c4552bcde0e47ce7cc521.tar.gz
Put real package installation prefix into install script instead of
letting the user figure out where the files got installed.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/aperture/Makefile23
1 files changed, 14 insertions, 9 deletions
diff --git a/sysutils/aperture/Makefile b/sysutils/aperture/Makefile
index df92d7174bf..59ca5bfb99a 100644
--- a/sysutils/aperture/Makefile
+++ b/sysutils/aperture/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2001/07/28 14:10:20 tron Exp $
+# $NetBSD: Makefile,v 1.13 2001/07/29 05:34:38 tron Exp $
DISTNAME= apNetBSD
PKGNAME= aperture-2.0nb1
@@ -21,20 +21,21 @@ MASTER_SITES= ${MASTER_SITE_LOCAL:=${subdir}/}
MAINTAINER= jlam@netbsd.org
COMMENT= XFree86 Framebuffer "aperture" driver for NetBSD/i386
-DIST_SUBDIR= ${PKGNAME}
-NO_WRKSUBDIR= YES
-NO_CONFIGURE= YES
-
-EXTRACT_CMD= ${SH} ${DOWNLOADED_DISTFILE}
-ALL_TARGET= cleandir depend all
-INSTALL_TARGET= dirs includes install
+ONLY_FOR_PLATFORM= NetBSD-*-i386
+ALL_TARGET= cleandir depend all
+DIST_SUBDIR= ${PKGNAME}
+EXTRACT_CMD= ${SH} ${DOWNLOADED_DISTFILE}
+INSTALL_FILE= ${WRKDIR}/INSTALL
+INSTALL_TARGET= dirs includes install
MANCOMPRESSED_IF_MANZ= YES
+NO_WRKSUBDIR= YES
+NO_CONFIGURE= YES
OSVERSION_SPECIFIC= YES
-ONLY_FOR_PLATFORM= NetBSD-*-i386
BSDSRCDIR?= /nonexistent # to override <bsd.own.mk>, MUST be
# set this way BEFORE bsd.prefs.mk
+
.include "../../mk/bsd.prefs.mk"
pre-extract:
@@ -51,6 +52,10 @@ pre-extract:
@${FALSE}
.endif
+post-build:
+ ${SED} -e 's#$${PREFIX}#${PREFIX}#g' <${PKGDIR}/INSTALL \
+ >${INSTALL_FILE}
+
.include "../../mk/bsd.pkg.mk"
LDFLAGS= # empty since we use BSD-style makefiles