diff options
author | xtraeme <xtraeme@pkgsrc.org> | 2005-02-20 00:57:39 +0000 |
---|---|---|
committer | xtraeme <xtraeme@pkgsrc.org> | 2005-02-20 00:57:39 +0000 |
commit | fe79db35820bee828b174f778559fb49bf6b12b4 (patch) | |
tree | 37f6a439fa34800352073d2d43aeffd3788bd068 /devel/libinstaller/Makefile | |
parent | 86c89deea606be327d3474226900b3e1560e9752 (diff) | |
download | pkgsrc-fe79db35820bee828b174f778559fb49bf6b12b4.tar.gz |
Do not use the BSD makefiles to install the files, because it tries
to install the files into /lib, use our own do-install target.
Add required casts to make this build, bump PKGREVISION.
Diffstat (limited to 'devel/libinstaller/Makefile')
-rw-r--r-- | devel/libinstaller/Makefile | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/devel/libinstaller/Makefile b/devel/libinstaller/Makefile index 39cc74f8f1c..ba9cac07c22 100644 --- a/devel/libinstaller/Makefile +++ b/devel/libinstaller/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.1.1.1 2005/02/09 05:44:18 xtraeme Exp $ +# $NetBSD: Makefile,v 1.2 2005/02/20 00:57:39 xtraeme Exp $ # DISTNAME= libinstaller-4.0 +PKGREVISION= 1 CATEGORIES= devel MASTER_SITES= http://www.bsdinstaller.org/distfiles/ @@ -13,11 +14,22 @@ WRKSRC= ${WRKDIR}/libinstaller USE_BUILDLINK3= yes SUBST_CLASSES+= prefix -SUBST_STAGE.prefix= post-patch +SUBST_STAGE.prefix= pre-patch SUBST_FILES.prefix= Makefile SUBST_SED.prefix= -e "s,/usr/local,${PREFIX},g" SUBST_MESSAGE.prefix= "Fixing hardcoded paths." +INSTALLATION_DIRS= include/installer lib + +HEADER_FILES= commands confed diskutil functions package uiutil + +do-install: +.for f in ${HEADER_FILES} + ${INSTALL_DATA} ${WRKSRC}/${f}.h ${PREFIX}/include/installer +.endfor + ${INSTALL_LIB} ${WRKSRC}/libinstaller.so* ${PREFIX}/lib + ${INSTALL_LIB} ${WRKSRC}/libinstaller*.a ${PREFIX}/lib + .include "../../devel/libaura/buildlink3.mk" .include "../../devel/libdfui/buildlink3.mk" .include "../../mk/bsd.pkg.mk" |