blob: f852dee2037c34233387c1eef889f33f1d21f2ae (
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
35
36
37
38
39
40
|
# $NetBSD: Makefile,v 1.15 2007/07/14 17:06:44 heinz 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
PKG_DESTDIR_SUPPORT= user-destdir
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 ${PKGMANDIR}/man1
do-install:
${INSTALL_PROGRAM} ${WRKSRC:Q}/mpgtx ${DESTDIR:Q}${PREFIX:Q}/bin
.for f in ${PLINKS}
${LN} -f ${DESTDIR:Q}${PREFIX:Q}/bin/mpgtx \
${DESTDIR:Q}${PREFIX:Q}/bin/${f}
.endfor
${INSTALL_MAN} ${WRKSRC:Q}/man/mpgtx.1 \
${DESTDIR:Q}${PREFIX:Q}/${PKGMANDIR}/man1
.for f in ${MLINKS}
${LN} -f ${DESTDIR:Q}${PREFIX:Q}/${PKGMANDIR}/man1/mpgtx.1 \
${DESTDIR:Q}${PREFIX:Q}/${PKGMANDIR}/man1/${f}
.endfor
${INSTALL_MAN} ${WRKSRC:Q}/man/tagmp3.1 \
${DESTDIR:Q}${PREFIX:Q}/${PKGMANDIR}/man1
.include "../../mk/bsd.pkg.mk"
|