# Created by: Andreas Kohn # $FreeBSD$ PORTNAME= dumb PORTVERSION= 0.9.3 PORTREVISION= 3 CATEGORIES= audio MASTER_SITES= SF MAINTAINER= amdmi3@FreeBSD.org COMMENT= IT, XM, S3M, and MOD player library USES= gmake NO_STAGE= yes OPTIONS_DEFINE= ALLEGRO ALLEGRO_DESC= Enable allegro support .include .if ${PORT_OPTIONS:MALLEGRO} LIB_DEPENDS+= alleg:${PORTSDIR}/devel/allegro PLIST_SUB+= ALLEGRO="" MAKE_ARGS= _PORT_ALLEGRO_CFLAGS="`allegro-config --cflags`" MAKE_ARGS+= LINK_ALLEGRO="-lm -L${LOCALBASE}/lib -lalleg" PKGNAMESUFFIX= -allegro CONFLICTS= dumb-[0-9]* .else PLIST_SUB+= ALLEGRO="@comment " MAKE_ARGS= _PORT_ALLEGRO_CFLAGS= CONFLICTS= dumb-allegro-[0-9]* .endif .if ${ARCH} == "amd64" || ${ARCH} == "ia64" || ${ARCH} == "sparc64" CFLAGS+= -fPIC .endif pre-configure: @${CP} ${FILESDIR}/config.txt ${WRKSRC}/make @${REINPLACE_CMD} -e "s,@LOCALBASE@,${LOCALBASE}," ${WRKSRC}/make/config.txt .if ${PORT_OPTIONS:MALLEGRO} @${REINPLACE_CMD} -e "s,@ALLEGRO@,," ${WRKSRC}/make/config.txt .else @${REINPLACE_CMD} -e "s,@ALLEGRO@,#," ${WRKSRC}/make/config.txt .endif .include ts-gnome' href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/'>freebsd-ports-gnome
FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines