aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/gcombust/Makefile
blob: 75233b0ea96e75b73b5f69451f19a23f9eba39a8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# 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 perl5
USE_PERL5=  build
USE_GNOME=  gtk12 gnomehier
GNU_CONFIGURE=  yes
CONFIGURE_ARGS+=--without-included-gettext --datadir=${PREFIX}/share
CPPFLAGS+=  -I${LOCALBASE}/include
LIBS+=      -L${LOCALBASE}/lib

NO_STAGE=   yes

OPTIONS_DEFINE= DOCS

.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>