aboutsummaryrefslogtreecommitdiffstats
path: root/devel/dia2code/Makefile
blob: 4fb612d3884601e487bfc737e6dc9e278f6ba8b6 (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
# Created by: Ying-Chieh Liao <ijliao@FreeBSD.org>
# $FreeBSD$

PORTNAME=   dia2code
PORTVERSION=    0.8.8
CATEGORIES= devel
MASTER_SITES=   SF

MAINTAINER= bofh@FreeBSD.org
COMMENT=    Small utility used to generate code from a Dia diagram

LICENSE=    GPLv2
LICENSE_FILE=   ${WRKSRC}/COPYING

USES=       gmake iconv
USE_GNOME=  libxml2
GNU_CONFIGURE=  yes

CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib

PLIST_FILES=    bin/dia2code \
        man/man1/dia2code.1.gz

post-install:
    ${INSTALL_MAN} ${WRKSRC}/dia2code.1 ${STAGEDIR}${MANPREFIX}/man/man1

.include <bsd.port.mk>