diff options
author | Michael Johnson <ahze@FreeBSD.org> | 2005-04-24 08:03:31 +0000 |
---|---|---|
committer | Michael Johnson <ahze@FreeBSD.org> | 2005-04-24 08:03:31 +0000 |
commit | 772ae93302d25afa7d292329b758bbc2e7a36431 (patch) | |
tree | 72418b9f442623626649fd7b8e460625190f54d5 /multimedia/mpeg2codec | |
parent | 7dbc8e0d610776aac7449709c08fa1d6f3ae608a (diff) | |
download | ports-772ae93302d25afa7d292329b758bbc2e7a36431.tar.gz ports-772ae93302d25afa7d292329b758bbc2e7a36431.zip |
Notes
Diffstat (limited to 'multimedia/mpeg2codec')
-rw-r--r-- | multimedia/mpeg2codec/Makefile | 13 | ||||
-rw-r--r-- | multimedia/mpeg2codec/pkg-plist | 14 |
2 files changed, 13 insertions, 14 deletions
diff --git a/multimedia/mpeg2codec/Makefile b/multimedia/mpeg2codec/Makefile index 7f6c67821ccb..d98a0efba6e9 100644 --- a/multimedia/mpeg2codec/Makefile +++ b/multimedia/mpeg2codec/Makefile @@ -15,18 +15,17 @@ DISTFILES= mpeg2vidcodec_v12.tar.gz MAINTAINER= ports@FreeBSD.org COMMENT= An MPEG-2 Encoder and Decoder -USE_X_PREFIX= yes +USE_XLIB= yes WRKSRC= ${WRKDIR}/mpeg2 - +DATADIR= share/mpeg2 CFLAGS+=-DVERIFY -DVERBOSE -DTRACE do-install: .for i in dec enc - ${INSTALL} ${COPY} ${STRIP} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \ - ${WRKSRC}/src/mpeg2${i}/mpeg2${i}ode ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/src/mpeg2${i}/mpeg2${i}ode ${PREFIX}/bin .endfor - ${MKDIR} ${PREFIX}/share/mpeg2 - ${CP} ${WRKSRC}/doc/mpeg2enc.doc ${PREFIX}/share/mpeg2 - ${CP} ${WRKSRC}/par/* ${PREFIX}/share/mpeg2 + ${MKDIR} ${PREFIX}/${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/doc/mpeg2enc.doc ${PREFIX}/${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/par/* ${PREFIX}/${DATADIR} .include <bsd.port.mk> diff --git a/multimedia/mpeg2codec/pkg-plist b/multimedia/mpeg2codec/pkg-plist index 622abe1180a5..06904916fc42 100644 --- a/multimedia/mpeg2codec/pkg-plist +++ b/multimedia/mpeg2codec/pkg-plist @@ -1,9 +1,9 @@ bin/mpeg2encode bin/mpeg2decode -share/mpeg2/mpeg2enc.doc -share/mpeg2/MPEG-1.par -share/mpeg2/NTSC.par -share/mpeg2/PAL.par -share/mpeg2/inter.mat -share/mpeg2/intra.mat -@dirrm share/mpeg2 +%%DATADIR%%/mpeg2enc.doc +%%DATADIR%%/MPEG-1.par +%%DATADIR%%/NTSC.par +%%DATADIR%%/PAL.par +%%DATADIR%%/inter.mat +%%DATADIR%%/intra.mat +@dirrm %%DATADIR%% |