freebsd-ports/sysutils/gtoaster/Makefile

61 lines
1.2 KiB
Makefile

# New ports collection makefile for: gtoaster
# Date created: 28 September 2000
# Whom: eric
#
# $FreeBSD$
#
PORTNAME= gtoaster
PORTVERSION= 1.0.b6
PORTEPOCH= 2
CATEGORIES= sysutils gnome
MASTER_SITES= http://gnometoaster.rulez.org/archive/
DISTNAME= ${PORTNAME}${PORTVERSION:S/.b/Beta/}
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= Graphical cd cooking interface
RUN_DEPENDS= cdrecord:${PORTSDIR}/sysutils/cdrtools \
mkisofs:${PORTSDIR}/sysutils/mkisofs
WRKSRC= ${WRKDIR}/${PORTNAME}
USE_X_PREFIX= yes
WANT_GNOME= yes
USE_GNOME= gnomehack gnometarget gtk12
USE_GMAKE= yes
USE_REINPLACE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
.include <bsd.port.pre.mk>
.if ${HAVE_GNOME:Mgnomelibs}!=""
PKGNAMESUFFIX= -gnome
USE_GNOME+= gnomelibs
.else
CONFIGURE_ARGS+= --without-gnome
.endif
.if ${HAVE_GNOME:Morbit}!=""
USE_GNOME+= orbit
.else
CONFIGURE_ARGS+= --without-orbit
.endif
.if ${HAVE_GNOME:Mesound}!=""
USE_GNOME+= esound
.else
CONFIGURE_ARGS+= --without-esd
.endif
post-extract:
@${RM} -f ${WRKSRC}/config.guess
@${TOUCH} ${WRKSRC}/config.guess
post-patch:
${REINPLACE_CMD} -e 's, -pthread, ${PTHREAD_LIBS},g' \
${WRKSRC}/configure
.include <bsd.port.post.mk>