48 lines
982 B
Makefile
48 lines
982 B
Makefile
# $OpenBSD: Makefile,v 1.11 2011/12/04 12:57:08 edd Exp $
|
|
|
|
COMMENT = music system for hackathons
|
|
DISTNAME = hgd-0.5.2
|
|
REVISION = 0
|
|
|
|
CATEGORIES = audio net
|
|
HOMEPAGE = https://github.com/vext01/hgd/
|
|
|
|
MAINTAINER = Edd Barrett <edd@openbsd.org>
|
|
|
|
# python flavor is not linked yet
|
|
FLAVORS = python
|
|
FLAVOR ?=
|
|
|
|
# ISC
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
PERMIT_DISTFILES_CDROM =Yes
|
|
PERMIT_DISTFILES_FTP = Yes
|
|
|
|
WANTLIB = c config crypto ssl sqlite3 tag tag_c
|
|
|
|
MASTER_SITES = https://github.com/downloads/vext01/hgd/
|
|
|
|
CONFIGURE_STYLE = gnu
|
|
|
|
RUN_DEPENDS = x11/mplayer
|
|
LIB_DEPENDS = databases/sqlite3 \
|
|
devel/libconfig \
|
|
audio/taglib
|
|
|
|
.if ${FLAVOR:Mpython}
|
|
LIB_DEPENDS += ${MODPY_LIB_DEPENDS}
|
|
WANTLIB += ${MODPY_WANTLIB}
|
|
WANTLIB += m pthread util
|
|
MODULES = lang/python
|
|
CONFIGURE_ARGS += --with-python=${MODPY_VERSION}
|
|
PKG_ARGS += -Dpython=1
|
|
.else
|
|
CONFIGURE_ARGS += --without-python
|
|
PKG_ARGS += -Dpython=0
|
|
.endif
|
|
|
|
NO_REGRESS = Yes
|
|
|
|
.include <bsd.port.mk>
|