1eabde0bc3
+ rm pkg/COMMENT + rm deprecated LICENSE_TYPE, add NEED_VERSION, spaces->tabs (general update/cleanup, some ports are OLD)
45 lines
1.1 KiB
Makefile
45 lines
1.1 KiB
Makefile
# $OpenBSD: Makefile,v 1.7 2001/04/13 03:24:04 obecian Exp $
|
|
|
|
COMMENT= "Lame Ain't an MP3 Encoder"
|
|
DISTNAME= lame3.87beta
|
|
PKGNAME= lame-3.87beta
|
|
CATEGORIES= audio
|
|
NEED_VERSION= 1.364
|
|
|
|
MASTER_SITES= ftp://lame.sourceforge.net/pub/lame/src/
|
|
|
|
HOMEPAGE= http://www.sulaco.org/mp3/
|
|
|
|
MAINTAINER= Jakob Schlyter <jakob@openbsd.org>
|
|
|
|
PERMIT_PACKAGE_CDROM= MP3 patent, http://mp3licensing.com/royalty/swenc.html
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= MP3 patent, http://mp3licensing.com/royalty/swenc.html
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
WRKDIST= ${WRKDIR}/lame3.87
|
|
USE_GMAKE= Yes
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
|
|
FLAVORS= no_x11
|
|
FLAVOR?=
|
|
|
|
ALL_TARGET= all
|
|
|
|
.if ${FLAVOR:L} == "no_x11"
|
|
CONFIGURE_ARGS+= --enable-analyzer=no
|
|
.else
|
|
CONFIGURE_ARGS+= --enable-analyzer=yes
|
|
LIB_DEPENDS= gtk.1.2::x11/gtk+
|
|
.endif
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKBUILD}/lame ${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKBUILD}/doc/man/lame.1 ${PREFIX}/man/man1
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/lame
|
|
${INSTALL_DATA} ${WRKBUILD}/doc/html/*.html ${PREFIX}/share/doc/lame
|
|
${INSTALL_DATA} ${WRKBUILD}/doc/html/*.css ${PREFIX}/share/doc/lame
|
|
|
|
.include <bsd.port.mk>
|