summaryrefslogtreecommitdiff
path: root/graphics/mpeg-lib/Makefile
diff options
context:
space:
mode:
authortv <tv@pkgsrc.org>1998-07-14 19:29:27 +0000
committertv <tv@pkgsrc.org>1998-07-14 19:29:27 +0000
commit653a9bd1923205fd5a6492e21e8bc8501aae3844 (patch)
tree4b8807b2f979b9bc0acd2b2641fb186b4c454dc4 /graphics/mpeg-lib/Makefile
parentda4de72e192404ca697051451a90998bf4159e0f (diff)
downloadpkgsrc-653a9bd1923205fd5a6492e21e8bc8501aae3844.tar.gz
Update to use libtool, and kill the NetBSD-style Makefile. No more PLIST
discrepancies vs. mk.conf.
Diffstat (limited to 'graphics/mpeg-lib/Makefile')
-rw-r--r--graphics/mpeg-lib/Makefile17
1 files changed, 9 insertions, 8 deletions
diff --git a/graphics/mpeg-lib/Makefile b/graphics/mpeg-lib/Makefile
index 021d1d8ee23..fda6df71050 100644
--- a/graphics/mpeg-lib/Makefile
+++ b/graphics/mpeg-lib/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 1998/07/10 17:56:30 tv Exp $
+# $NetBSD: Makefile,v 1.8 1998/07/14 19:29:27 tv Exp $
DISTNAME= mpeg_lib-1.2.1
PKGNAME= mpeg-1.2.1
@@ -9,16 +9,17 @@ MASTER_SITES= ftp://ftp.mni.mcgill.ca/pub/mpeg/ \
MAINTAINER= tron@netbsd.org
+BUILD_DEPENDS= ${PREFIX}/bin/libtool:../../devel/libtool
+
GNU_CONFIGURE= yes
+MAKE_ENV= LIBTOOL=${PREFIX}/bin/libtool
WRKSRC= ${WRKDIR}/mpeg_lib
-post-configure:
- ln -fs ${FILESDIR}/Makefile ${WRKSRC}
- ln -s ${FILESDIR}/shlib_version ${WRKSRC}
-
-post-install:
- (cd ${WRKSRC};make PREFIX=${PREFIX} includes)
- ${LDCONFIG} || ${TRUE}
+do-install:
+ cd ${WRKSRC} && \
+ ${PREFIX}/bin/libtool --mode=install ${INSTALL_DATA} \
+ libmpeg.la ${PREFIX}/lib/
+ ${INSTALL_DATA} ${WRKSRC}/mpeg.h ${PREFIX}/include/
.include "../../mk/bsd.pkg.mk"