aboutsummaryrefslogtreecommitdiffstats
path: root/cad/libredwg/Makefile
blob: 0f9ce504a48327bc518b21ad88b67204514b6818 (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
# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
# $FreeBSD$

PORTNAME=   libredwg
PORTVERSION=    0.6.2
PORTREVISION=   1
CATEGORIES= cad devel
MASTER_SITES=   GNU

MAINTAINER= danfe@FreeBSD.org
COMMENT=    Library and command line tools to handle DWG files

LICENSE=    GPLv3+

USES=       libtool tar:xz
GNU_CONFIGURE=  yes
USE_LDCONFIG=   yes

INFO=       LibreDWG
PORTDOCS=   AUTHORS ChangeLog NEWS README TODO

OPTIONS_DEFINE= DOCS PSLIB
OPTIONS_DEFAULT=    PSLIB
PSLIB_DESC= PostScript export support (dwg2ps)

PSLIB_LIB_DEPENDS=  libps.so:print/pslib
# XXX: shall `localbase' be put on global USES, it would require explicit
# PSLIB_CONFIGURE_ENV_OFF=  ac_cv_lib_ps_PS_open_file=no
PSLIB_USES=     localbase
PSLIB_PLIST_FILES=  bin/dwg2ps

post-install-DOCS-on:
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>