pkgsrc/mbone/common-mml/Makefile
jlam a80fd13efc Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
2008-03-04 17:57:17 +00:00

31 lines
866 B
Makefile

# $NetBSD: Makefile,v 1.17 2008/03/04 18:15:08 jlam Exp $
#
DISTNAME= common-1.2.16
PKGNAME= common-mml-1.2.16
PKGREVISION= 2
CATEGORIES= mbone
MASTER_SITES= http://www-mice.cs.ucl.ac.uk/multimedia/software/common/
MAINTAINER= psham@cs.nmsu.edu
HOMEPAGE= http://www-mice.cs.ucl.ac.uk/multimedia/software/common/
COMMENT= Common multimedia library required by mbone tools
PKG_DESTDIR_SUPPORT= user-destdir
WRKSRC= ${WRKDIR}/common
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
INSTALLATION_DIRS= include/common-mml lib share/doc/common-mml
INCDIR= ${PREFIX}/include/common-mml
DOCDIR= ${PREFIX}/share/doc/common-mml
do-install:
${LIBTOOL} --mode=install \
${INSTALL_LIB} ${WRKSRC}/src/*.la ${DESTDIR}${PREFIX}/lib
${INSTALL_DATA} ${WRKSRC}/src/*.h ${DESTDIR}${INCDIR}
${INSTALL_DATA} ${WRKSRC}/doc/html/*.html ${DESTDIR}${DOCDIR}
.include "../../mk/bsd.pkg.mk"