1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-18 03:46:03 +00:00
freebsd-ports/sysutils/gcombust/Makefile
Marcelo Araujo 75a7e399c0 - Unbreak with gcc4.
PR:		ports/115323
Submitted by:	Ulrich Spoerlein <uspoerlein@gmail.com>
Approved by:	stas (mentor), maintainer timeout (2 weeks)
2007-09-17 16:52:59 +00:00

45 lines
1.1 KiB
Makefile

# New ports collection makefile for: gcombust
# Date created: Tue Jun 22 21:17:03 MET DST 1999
# Whom: Juergen Lock <nox@jelal.kn-bremen.de>
#
# $FreeBSD$
#
PORTNAME= gcombust
PORTVERSION= 0.1.55
PORTREVISION= 3
CATEGORIES= sysutils
MASTER_SITES= http://www.abo.fi/~jmunsin/gcombust/
MAINTAINER= mcdouga9@msu.edu
COMMENT= A GTK+ frontend for mkisofs and cdrecord
RUN_DEPENDS= cdlabelgen:${PORTSDIR}/print/cdlabelgen
USE_GETTEXT= yes
USE_X_PREFIX= yes
USE_PERL5_BUILD=yes
USE_GNOME= gtk12 gnomehier
USE_CDRTOOLS= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--without-included-gettext --datadir=${PREFIX}/share
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
pre-patch:
@${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
@${PERL} -pi -e 's|==|=|g' ${WRKSRC}/po/Makefile.in.in
post-configure:
cd ${WRKSRC}/po && ${MAKE} update-po
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/gcombust
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/NEWS ${DOCSDIR}
.endif
.include <bsd.port.mk>