pkgsrc/devel/libiberty/Makefile
jlam 4c8382aec0 Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
2008-03-03 17:45:33 +00:00

31 lines
812 B
Makefile

# $NetBSD: Makefile,v 1.7 2008/03/03 17:45:35 jlam Exp $
#
DISTNAME= libiberty-1.0
PKGREVISION= 2
CATEGORIES= devel
MASTER_SITES= http://www.johnrshannon.com/NetBSD/
MAINTAINER= john@johnrshannon.com
COMMENT= This package provides the GNU liberty library of "missing" functions
PKG_INSTALLATION_TYPES= overwrite pkgviews
PKG_DESTDIR_SUPPORT= user-destdir
USE_TOOLS+= gmake
GNU_CONFIGURE= yes
INSTALLATION_DIRS= include lib
post-extract:
${CP} -f ${WRKSRC}/include/ansidecl.h ${WRKSRC}/include/libiberty_decl.h
do-install:
${INSTALL_LIB} ${WRKSRC}/libiberty/libiberty.a \
${DESTDIR}${PREFIX}/lib/
${INSTALL_DATA} ${WRKSRC}/include/libiberty_decl.h \
${DESTDIR}${PREFIX}/include/
${INSTALL_DATA} ${WRKSRC}/include/libiberty.h \
${DESTDIR}${PREFIX}/include/
.include "../../mk/bsd.pkg.mk"