1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

Enable stage

This commit is contained in:
Baptiste Daroussin 2013-10-19 15:58:31 +00:00
parent 2e503dc619
commit c671b4b16f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=330894
2 changed files with 8 additions and 16 deletions

View File

@ -8,33 +8,23 @@ CATEGORIES= multimedia
MASTER_SITES= SF
MAINTAINER= multimedia@FreeBSD.org
COMMENT= A command line MPEG audio/video/system file toolbox
COMMENT= Command line MPEG audio/video/system file toolbox
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --prefix=${PREFIX}
ALL_TARGET= default
MAN1= mpgtx.1 tagmp3.1
MLINKS= mpgtx.1 mpgcat.1 \
mpgtx.1 mpgdemux.1 \
mpgtx.1 mpginfo.1 \
mpgtx.1 mpgjoin.1 \
mpgtx.1 mpgsplit.1
NO_STAGE= yes
.include <bsd.port.pre.mk>
pre-patch:
@${REINPLACE_CMD} -e 's|CFLAGS=|CFLAGS\+=|g ; \
s|="\$$cflags \$$optimization_cflags|+="${CFLAGS}|g ; \
s|g++|${CXX}|g; s|-pedantic||' ${WRKSRC}/configure
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/mpgtx ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/mpgtx ${STAGEDIR}${PREFIX}/bin
.for link in mpgcat mpgdemux mpginfo mpgjoin mpgsplit tagmp3
${LN} -sf mpgtx ${PREFIX}/bin/${link}
${LN} -sf mpgtx ${STAGEDIR}${PREFIX}/bin/${link}
.endfor
${INSTALL_MAN} ${WRKSRC}/man/mpgtx.1 ${MANPREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/man/tagmp3.1 ${MANPREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/man/mpgtx.1 ${STAGEDIR}${MANPREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/man/tagmp3.1 ${STAGEDIR}${MANPREFIX}/man/man1
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -5,3 +5,5 @@ bin/mpgjoin
bin/mpgsplit
bin/mpgtx
bin/tagmp3
man/man1/mpgtx.1.gz
man/man1/tagmp3.1.gz