freebsd-ports/sysutils/gcombust/Makefile
Baptiste Daroussin dba80fffe4 Remove USE_CDRTOOLS from bsd.port.mk
This macros has been useless since cdrtools-cjk port has gone.
This macros also lead to badly handled dependencies assuming that the dependency
on cdrtools was most BUILD and RUN dependency. While most of the time it is
simply a RUN dependency and sometime a build one.

While here:
- Trim some headers
- Convert some ports to optionsng
- Convert some ports to USES= gettext
2013-04-26 12:35:50 +00:00

44 lines
1.1 KiB
Makefile

# Created by: Juergen Lock <nox@jelal.kn-bremen.de>
# $FreeBSD$
PORTNAME= gcombust
PORTVERSION= 0.1.55
PORTREVISION= 6
CATEGORIES= sysutils
MASTER_SITES= http://mirror.symnds.com/software/misc/ \
http://www.egr.msu.edu/~mcdouga9/
MAINTAINER= mcdouga9@msu.edu
COMMENT= A GTK+ frontend for mkisofs and cdrecord
LICENSE= GPLv2
RUN_DEPENDS= cdlabelgen:${PORTSDIR}/print/cdlabelgen \
cdrecord:${PORTSDIR}/sysutils/cdrtools
USES= gettext
USE_PERL5_BUILD=yes
USE_GNOME= gtk12 gnomehier
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--without-included-gettext --datadir=${PREFIX}/share
CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib"
CPPFLAGS+= -I${LOCALBASE}/include
.include <bsd.port.options.mk>
pre-patch:
@${REINPLACE_CMD} -e 's|DATADIRNAME=lib|DATADIRNAME=share|g' \
${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|==|=|g' ${WRKSRC}/po/Makefile.in.in
post-configure:
cd ${WRKSRC}/po && ${MAKE} update-po
post-install:
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${PREFIX}/share/doc/gcombust
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/NEWS ${DOCSDIR}
.endif
.include <bsd.port.mk>