freebsd-ports/sysutils/gcombust/Makefile
Greg Lehey ffba203842 Upgrade to version 0.1.42
PR:		ports/25624
Submitted by:	Maintainer
2001-03-09 07:19:19 +00:00

41 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.42
CATEGORIES= sysutils
MASTER_SITES= http://www.abo.fi/~jmunsin/gcombust/
MAINTAINER= bsdx@looksharp.net
LIB_DEPENDS= intl.1:${PORTSDIR}/devel/gettext
RUN_DEPENDS= cdrecord:${PORTSDIR}/sysutils/cdrecord \
mkisofs:${PORTSDIR}/sysutils/mkisofs \
cdlabelgen:${PORTSDIR}/print/cdlabelgen
USE_X_PREFIX= yes
USE_GTK= 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|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:
@${MKDIR} ${PREFIX}/share/doc/gcombust
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/gcombust
${INSTALL_DATA} ${WRKSRC}/NEWS ${PREFIX}/share/doc/gcombust
.include <bsd.port.mk>