blob: 7488ca4840ae88196eeeceed538f383db139e2df (
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
|
# $NetBSD: Makefile,v 1.22 2017/09/06 09:03:00 wiz Exp $
DISTNAME= toolame-02l
PKGREVISION= 4
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=toolame/}
EXTRACT_SUFX= .tgz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://sourceforge.net/projects/toolame/
COMMENT= Optimized MPEG 1/2 layer 2 audio encoder
LICENSE= gnu-lgpl-v2.1
USE_TOOLS+= gmake
TOOLAME_ARCH?=
MAKE_ENV+= CC=${CC:Q} CFLAGS=${CFLAGS:Q} LDFLAGS=${LDFLAGS:Q} ARCH=${TOOLAME_ARCH:Q}
BUILD_TARGET= toolame
INSTALLATION_DIRS= bin share/doc/toolame
.include "../../mk/bsd.prefs.mk"
.if !empty(PKGSRC_COMPILER:Msunpro)
SUBST_CLASSES+= inline
SUBST_MESSAGE.inline= Disable inline on Sun Studio
SUBST_STAGE.inline= post-patch
SUBST_FILES.inline= Makefile
SUBST_SED.inline= -e 's,INLINE=inline,INLINE=,'
.endif
TOOLAME_HTMLFILES= changes.html default.html psycho.html readme.html vbr.html
do-install:
cd ${WRKSRC}/html; ${INSTALL_DATA} ${TOOLAME_HTMLFILES} \
${DESTDIR}${PREFIX}/share/doc/toolame
${INSTALL_PROGRAM} ${WRKSRC}/toolame ${DESTDIR}${PREFIX}/bin
.include "../../mk/bsd.pkg.mk"
|