freebsd-ports/sysutils/gtoaster/Makefile
Trevor Johnson 3c175cb569 Use PLIST_FILES.
Reviewed by:	marcus
2004-02-05 20:38:07 +00:00

64 lines
1.3 KiB
Makefile

# New ports collection makefile for: gtoaster
# Date created: 28 September 2000
# Whom: eric
#
# $FreeBSD$
#
PORTNAME= gtoaster
PORTVERSION= 1.0.b6
PORTREVISION= 1
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}
PLIST_FILES= bin/gtoaster
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>