mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-27 05:10:36 +00:00
c2e99e5dcb
PR: 18078 Submitted by: Trevor Johnson <trevor@jpj.net>
46 lines
1.1 KiB
Makefile
46 lines
1.1 KiB
Makefile
# New ports collection makefile for: aumix
|
|
# Date created: 21 May 1999
|
|
# Whom: Chris Piazza <cpiazza@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= aumix
|
|
PORTVERSION= 2.6
|
|
CATEGORIES= audio
|
|
MASTER_SITES= http://jpj.net/~trevor/aumix/ \
|
|
http://download.sourceforge.net/aumix/ \
|
|
http://jpj.net/~trevor/aumix/old/ \
|
|
ftp://aumix.sourceforge.net/pub/aumix/stable/ \
|
|
${MASTER_SITE_SUNSITE}
|
|
MASTER_SITE_SUBDIR= apps/sound/mixers
|
|
|
|
MAINTAINER= cpiazza@FreeBSD.org
|
|
|
|
LIB_DEPENDS= intl.1:${PORTSDIR}/devel/gettext
|
|
.if !defined(WITHOUT_X11)
|
|
LIB_DEPENDS+= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12
|
|
|
|
GTK_CONFIG= ${X11BASE}/bin/gtk12-config
|
|
.endif
|
|
|
|
MAN1= aumix.1 xaumix.1
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_GMAKE= yes
|
|
CONFIGURE_ARGS= --includedir="${LOCALBASE}/include" \
|
|
--enable-own-labels \
|
|
--libdir="${LOCALBASE}/lib"
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
GTK_CONFIG="${GTK_CONFIG}" \
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
.if defined(WITHOUT_X11)
|
|
CONFIGURE_ARGS+= --without-gtk
|
|
.else
|
|
pre-fetch:
|
|
@${ECHO_MSG} -n "To build this port without X11 (and without the GUI),"
|
|
@${ECHO_MSG} " define \"WITHOUT_X11\"."
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|