blob: 74bf33203d3221308ab888d4a62a33f3167fa651 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# $NetBSD: Makefile,v 1.13 2006/06/02 13:44:55 joerg Exp $
#
DISTNAME= mpgtx-1.3.1
CATEGORIES= audio graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mpgtx/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://mpgtx.sourceforge.net/
COMMENT= Split and join MPEG files in various ways
HAS_CONFIGURE= yes
CONFIGURE_ARGS+= --prefix=${PREFIX:Q} \
--manprefix=${PREFIX:Q}
USE_LANGUAGES= c c++
BUILD_TARGET= mpgtx
PLINKS= mpgjoin mpgcat mpgsplit mpginfo mpgdemux tagmp3
MLINKS= mpgcat.1 mpgjoin.1 mpginfo.1 mpgsplit.1 mpgdemux.1
INSTALLATION_DIRS= bin man/man1
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/mpgtx ${PREFIX}/bin
.for f in ${PLINKS}
${LN} -f ${PREFIX}/bin/mpgtx ${PREFIX}/bin/${f}
.endfor
${INSTALL_MAN} ${WRKSRC}/man/mpgtx.1 ${PREFIX}/man/man1
.for f in ${MLINKS}
${LN} -f ${PREFIX}/man/man1/mpgtx.1 ${PREFIX}/man/man1/${f}
.endfor
${INSTALL_MAN} ${WRKSRC}/man/tagmp3.1 ${PREFIX}/man/man1
.include "../../mk/bsd.pkg.mk"
|