1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00
freebsd-ports/graphics/ipe/Makefile
2011-05-02 12:44:53 +00:00

44 lines
1.1 KiB
Makefile

# New ports collection makefile for: Ipe
# Date created: October 25 2000
# Whom: bremner@unb.ca
#
# $FreeBSD$
#
PORTNAME= ipe
DISTVERSION= 7.0.10
PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= SF
MASTER_SITE_SUBDIR= ipe7/ipe
DISTNAME= ${PORTNAME}-${DISTVERSION}-src
MAINTAINER= tkjacobsen@gmail.com
COMMENT= Extensible drawing editor
LIB_DEPENDS= cairo.2:${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_GNOME= pkgconfig
USE_QT_VER= 4
QT_COMPONENTS= gui qt3support qmake_build moc_build uic_build rcc_build
MAN1= ipe.1 ipe6upgrade.1 ipeextract.1 iperender.1 ipetoipe.1
.if defined(NOPORTDOCS)
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>