Index: Makefile =================================================================== RCS file: /public/netbsd-rsync/pkgsrc/multimedia/smpeg2/Makefile,v retrieving revision 1.4 diff -u -r1.4 Makefile --- Makefile 25 Apr 2015 14:23:41 -0000 1.4 +++ Makefile 29 Jul 2016 17:59:30 -0000 @@ -10,15 +10,19 @@ COMMENT= Free MPEG1 video player library with sound support LICENSE= gnu-lgpl-v2.1 -CONFLICTS+= smpeg-[0-9]* - GNU_CONFIGURE= yes USE_LIBTOOL= yes USE_LANGUAGES= c c++ +CONFIGURE_ARGS+= --program-suffix=2 + .include "../../mk/bsd.fast.prefs.mk" LDFLAGS.SunOS+= -lsocket -lnsl +post-install: + ${RUN} mv ${DESTDIR}${PREFIX}/bin/smpeg2-config2 \ + ${DESTDIR}${PREFIX}/bin/smpeg2-config + .include "../../devel/SDL2/buildlink3.mk" .include "../../mk/bsd.pkg.mk" Index: PLIST =================================================================== RCS file: /public/netbsd-rsync/pkgsrc/multimedia/smpeg2/PLIST,v retrieving revision 1.1 diff -u -r1.1 PLIST --- PLIST 2 Feb 2014 15:24:13 -0000 1.1 +++ PLIST 29 Jul 2016 18:00:28 -0000 @@ -1,5 +1,5 @@ -@comment $NetBSD: PLIST,v 1.1 2014/02/02 15:24:13 rodent Exp $ -bin/plaympeg +@comment $NetBSD$ +bin/plaympeg2 bin/smpeg2-config include/smpeg2/MPEG.h include/smpeg2/MPEGaction.h @@ -13,5 +13,5 @@ include/smpeg2/MPEGvideo.h include/smpeg2/smpeg.h lib/libsmpeg2.la -man/man1/plaympeg.1 +man/man1/plaympeg2.1 share/aclocal/smpeg2.m4