2001-05-15 04:19:15 +02:00
|
|
|
# New ports collection makefile for: mpgtx
|
|
|
|
# Date created: May 15, 2001
|
|
|
|
# Whom: ijliao
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= mpgtx
|
2005-01-12 08:22:36 +01:00
|
|
|
PORTVERSION= 1.3.1
|
2006-06-12 18:53:21 +02:00
|
|
|
PORTREVISION= 2
|
2003-04-04 03:38:40 +02:00
|
|
|
CATEGORIES= multimedia
|
2001-05-15 04:19:15 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
|
2006-06-09 20:00:35 +02:00
|
|
|
MAINTAINER= multimedia@FreeBSD.org
|
2003-02-20 19:08:19 +01:00
|
|
|
COMMENT= A command line MPEG audio/video/system file toolbox
|
2001-05-15 04:19:15 +02:00
|
|
|
|
2001-12-24 05:28:25 +01:00
|
|
|
HAS_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS= --prefix=${PREFIX}
|
|
|
|
ALL_TARGET= default
|
2001-05-15 04:19:15 +02:00
|
|
|
|
2001-07-12 14:21:13 +02:00
|
|
|
MAN1= mpgtx.1 tagmp3.1
|
2001-12-24 05:28:25 +01:00
|
|
|
MLINKS= mpgtx.1 mpgcat.1 \
|
|
|
|
mpgtx.1 mpgdemux.1 \
|
|
|
|
mpgtx.1 mpginfo.1 \
|
2001-05-15 04:19:15 +02:00
|
|
|
mpgtx.1 mpgjoin.1 \
|
2001-12-24 05:28:25 +01:00
|
|
|
mpgtx.1 mpgsplit.1
|
|
|
|
|
2004-11-03 14:58:08 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2001-12-24 05:28:25 +01:00
|
|
|
pre-patch:
|
2002-09-01 18:07:59 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|CFLAGS=|CFLAGS\+=|g ; \
|
2006-06-12 18:53:21 +02:00
|
|
|
s|="\$$cflags \$$optimization_cflags|+="${CFLAGS}|g ; \
|
2004-06-12 22:55:51 +02:00
|
|
|
s|g++|${CXX}|g; s|-pedantic||' ${WRKSRC}/configure
|
2001-12-24 05:28:25 +01:00
|
|
|
|
|
|
|
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
|
2001-07-12 14:21:13 +02:00
|
|
|
|
2004-11-03 14:58:08 +01:00
|
|
|
.include <bsd.port.post.mk>
|