2012-10-03 01:47:56 +02:00
|
|
|
# $NetBSD: Makefile,v 1.21 2012/10/02 23:48:11 asau Exp $
|
2003-06-23 09:07:26 +02:00
|
|
|
|
|
|
|
DISTNAME= toolame-02l
|
2012-06-22 18:24:55 +02:00
|
|
|
PKGREVISION= 4
|
2003-06-23 09:07:26 +02:00
|
|
|
CATEGORIES= audio
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=toolame/}
|
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2003-06-23 09:07:26 +02:00
|
|
|
HOMEPAGE= http://sourceforge.net/projects/toolame/
|
2003-07-21 18:24:36 +02:00
|
|
|
COMMENT= Optimized MPEG 1/2 layer 2 audio encoder
|
2012-06-22 18:24:55 +02:00
|
|
|
LICENSE= gnu-lgpl-v2.1
|
2003-06-23 09:07:26 +02:00
|
|
|
|
2005-05-22 22:07:36 +02:00
|
|
|
USE_TOOLS+= gmake
|
2003-06-23 09:07:26 +02:00
|
|
|
|
|
|
|
TOOLAME_ARCH?=
|
|
|
|
|
2012-06-22 18:24:55 +02:00
|
|
|
MAKE_ENV+= CC=${CC:Q} CFLAGS=${CFLAGS:Q} LDFLAGS=${LDFLAGS:Q} ARCH=${TOOLAME_ARCH:Q}
|
2004-12-03 16:14:50 +01:00
|
|
|
BUILD_TARGET= toolame
|
2003-06-23 09:07:26 +02:00
|
|
|
|
2012-06-22 18:24:55 +02:00
|
|
|
INSTALLATION_DIRS= bin share/doc/toolame
|
2005-06-16 08:57:37 +02:00
|
|
|
|
2009-01-20 21:01:23 +01:00
|
|
|
.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
|
|
|
|
|
2003-06-23 09:07:26 +02:00
|
|
|
TOOLAME_HTMLFILES= changes.html default.html psycho.html readme.html vbr.html
|
|
|
|
do-install:
|
2012-06-22 18:24:55 +02:00
|
|
|
cd ${WRKSRC}/html; ${INSTALL_DATA} ${TOOLAME_HTMLFILES} \
|
|
|
|
${DESTDIR}${PREFIX}/share/doc/toolame
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/toolame ${DESTDIR}${PREFIX}/bin
|
2003-06-23 09:07:26 +02:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|