mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
fe3cbc7398
PR: 47071 Submitted by: KATO Tsuguru <tkato@prontomail.com>
44 lines
994 B
Makefile
44 lines
994 B
Makefile
# ex:ts=8
|
|
# New ports collection makefile for: mpgtx
|
|
# Date created: May 15, 2001
|
|
# Whom: ijliao
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= mpgtx
|
|
PORTVERSION= 1.3
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
|
|
USE_REINPLACE= yes
|
|
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
|
|
|
|
pre-patch:
|
|
@${REINPLACE_CMD} -e 's|CFLAGS=|CFLAGS\+=|g ; \
|
|
s|\$$cflags \$$optimization_cflags|$$cflags|g ; \
|
|
s|g++|${CXX}|g' ${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.mk>
|