mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
1035e1fb05
PR: ports/98037 Submitted by: Michael Hohmuth <hohmuth@sax.de>
45 lines
1.1 KiB
Makefile
45 lines
1.1 KiB
Makefile
# New ports collection makefile for: mpgtx
|
|
# Date created: May 15, 2001
|
|
# Whom: ijliao
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= mpgtx
|
|
PORTVERSION= 1.3.1
|
|
PORTREVISION= 2
|
|
CATEGORIES= multimedia
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
MAINTAINER= multimedia@FreeBSD.org
|
|
COMMENT= A 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
|
|
|
|
.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
|
|
.for link in mpgcat mpgdemux mpginfo mpgjoin mpgsplit tagmp3
|
|
${LN} -sf mpgtx ${PREFIX}/bin/${link}
|
|
.endfor
|
|
${INSTALL_MAN} ${WRKSRC}/man/mpgtx.1 ${MANPREFIX}/man/man1
|
|
${INSTALL_MAN} ${WRKSRC}/man/tagmp3.1 ${MANPREFIX}/man/man1
|
|
|
|
.include <bsd.port.post.mk>
|