pkgsrc/devel/libinstaller/Makefile
xtraeme fe79db3582 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.
2005-02-20 00:57:39 +00:00

35 lines
1,004 B
Makefile

# $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/
MAINTAINER= xtraeme@NetBSD.org
HOMEPAGE= http://www.bsdinstaller.org/
COMMENT= Library of support functions for the BSD Installer application
WRKSRC= ${WRKDIR}/libinstaller
USE_BUILDLINK3= yes
SUBST_CLASSES+= prefix
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"