blob: e62cf1a45739627234342fe6e6174c37dd80037c (
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
41
42
|
# $NetBSD: Makefile,v 1.18 2009/01/20 20:01:23 sketch Exp $
#
DISTNAME= toolame-02l
PKGREVISION= 2
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=toolame/}
EXTRACT_SUFX= .tgz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://sourceforge.net/projects/toolame/
COMMENT= Optimized MPEG 1/2 layer 2 audio encoder
PKG_DESTDIR_SUPPORT= user-destdir
USE_TOOLS+= gmake
TOOLAME_ARCH?=
MAKE_ENV+= CC=${CC:Q} CFLAGS=${CFLAGS:M*:Q} ARCH=${TOOLAME_ARCH:Q}
BUILD_TARGET= toolame
INSTALLATION_DIRS= bin
.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:
${INSTALL_DATA_DIR} ${DESTDIR:Q}${PREFIX:Q}/share/doc/html/toolame
cd ${WRKSRC:Q}/html; ${INSTALL_DATA} ${TOOLAME_HTMLFILES} \
${DESTDIR:Q}${PREFIX:Q}/share/doc/html/toolame
${INSTALL_PROGRAM} ${WRKSRC:Q}/toolame ${DESTDIR:Q}${PREFIX:Q}/bin
.include "../../mk/bsd.pkg.mk"
|