blob: 7902daddd2a11a194a45a4d9c10124c99d651b8a (
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
|
# Created by: bremner@unb.ca
# $FreeBSD$
PORTNAME= ipe
DISTVERSION= 7.1.2
PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= SF
MASTER_SITE_SUBDIR= ${PORTNAME}7/${PORTNAME}/7.1.0
DISTNAME= ${PORTNAME}-${DISTVERSION}-src
MAINTAINER= ports@FreeBSD.org
COMMENT= Extensible drawing editor
LIB_DEPENDS= cairo:${PORTSDIR}/graphics/cairo
RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX
WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION}/src
USE_LDCONFIG= yes
USE_LUA= 5.1
USE_GMAKE= yes
USE_PKGCONFIG= yes
USE_QT4= gui qt3support qmake_build moc_build uic_build rcc_build
MAN1= ipe.1 ipe6upgrade.1 ipeextract.1 iperender.1 ipetoipe.1 ipescript.1
.include <bsd.port.options.mk>
.if ! ${PORT_OPTIONS:MDOCS}
EXTRA_PATCHES+= ${FILESDIR}/extrapatch-ipe__Makefile
.endif
PLIST_SUB+= VERSION="${DISTVERSION}"
post-install:
cd ${WRKSRC}/../fontmaps && ${MKDIR} ${DATADIR}/${DISTVERSION} && \
${SED} s,/usr/share/fonts/type1/gsfonts,${PREFIX}/share/ghostscript/fonts, \
< gsfonts-fontmap.xml > ${DATADIR}/${DISTVERSION}/fontmap.xml
.include <bsd.port.mk>
|