diff options
author | joerg <joerg> | 2010-02-11 19:53:03 +0000 |
---|---|---|
committer | joerg <joerg> | 2010-02-11 19:53:03 +0000 |
commit | 115a763a8397cfd0f2eb5634e1815afed3f96fbc (patch) | |
tree | fac9e1a76e2748059bc89f2c407a796b2faa634e /multimedia/mpeg-lib/Makefile | |
parent | 48bec191e338316f0286dbdc4d9aae1019ad492b (diff) | |
download | pkgsrc-115a763a8397cfd0f2eb5634e1815afed3f96fbc.tar.gz |
DESTDIR support
Diffstat (limited to 'multimedia/mpeg-lib/Makefile')
-rw-r--r-- | multimedia/mpeg-lib/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/multimedia/mpeg-lib/Makefile b/multimedia/mpeg-lib/Makefile index 9eaf4463e48..2ea97713a88 100644 --- a/multimedia/mpeg-lib/Makefile +++ b/multimedia/mpeg-lib/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.7 2006/10/04 21:50:09 wiz Exp $ +# $NetBSD: Makefile,v 1.8 2010/02/11 20:04:28 joerg Exp $ # DISTNAME= mpeg_lib-1.3.1 @@ -13,6 +13,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.gerg.ca/software/mpeglib/ COMMENT= Library for decoding MPEG movies +PKG_DESTDIR_SUPPORT= user-destdir + USE_LIBTOOL= YES GNU_CONFIGURE= YES @@ -21,4 +23,10 @@ BUILD_TARGET= libmpeg_lib.la CONFIGURE_ENV+= OPTIMIZE=${CFLAGS:M*:Q} EXTRA_LDFLAGS=${LDFLAGS:M*:Q} \ EXTRA_CPPFLAGS=${CPPFLAGS:M*:Q} +INSTALLATION_DIRS+= include lib + +do-install: + ${INSTALL_DATA} ${WRKSRC}/mpeg.h ${DESTDIR}${PREFIX}/include + libtool --mode=install ${INSTALL_LIB} ${WRKSRC}/libmpeg_lib.la ${DESTDIR}${PREFIX}/lib + .include "../../mk/bsd.pkg.mk" |