42 lines
1.1 KiB
Makefile
42 lines
1.1 KiB
Makefile
# $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"
|