aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/ipe/Makefile
diff options
context:
space:
mode:
authormakc <makc@FreeBSD.org>2009-09-15 07:07:15 +0800
committermakc <makc@FreeBSD.org>2009-09-15 07:07:15 +0800
commit3f952e75a0fc1a95b3ab25ce4fb0bf9431944c6f (patch)
tree9a13a0c93c8a04c3ff67866d6ddcd26043e2be12 /graphics/ipe/Makefile
parent817203eb96dc20cf7e7f240154fbf35b986ea9c2 (diff)
downloadfreebsd-ports-gnome-3f952e75a0fc1a95b3ab25ce4fb0bf9431944c6f.tar.gz
freebsd-ports-gnome-3f952e75a0fc1a95b3ab25ce4fb0bf9431944c6f.tar.zst
freebsd-ports-gnome-3f952e75a0fc1a95b3ab25ce4fb0bf9431944c6f.zip
Update to 6.0.p32.p1
Pass maintainership to submitter PR: based on ports/137642 Submitted by: Troels Kofoed Jacobsen (tkjacobsen at gmail.com)
Diffstat (limited to 'graphics/ipe/Makefile')
-rw-r--r--graphics/ipe/Makefile39
1 files changed, 14 insertions, 25 deletions
diff --git a/graphics/ipe/Makefile b/graphics/ipe/Makefile
index 5eff6817c499..93c9f1567f6c 100644
--- a/graphics/ipe/Makefile
+++ b/graphics/ipe/Makefile
@@ -6,34 +6,25 @@
#
PORTNAME= ipe
-PORTVERSION= 6.0.p23
-PORTREVISION= 4
+DISTVERSION= 6.0pre32patch1
CATEGORIES= graphics
-MASTER_SITES= http://ipe.compgeom.org/ \
- http://tclab.kaist.ac.kr/~otfried/Ipe/
-DISTNAME= ${PORTNAME:L}-${PORTVERSION:S/.p/pre/}
-EXTRACT_SUFX= -src.tar.gz
+MASTER_SITES= http://luaforge.net/frs/download.php/4052/
+DISTNAME= ${PORTNAME}-${DISTVERSION}-src
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= tkjacobsen@gmail.com
COMMENT= Extensible drawing editor
-BUILD_DEPENDS= qmake:${PORTSDIR}/devel/qmake
+RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX
+WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION}/src
USE_GHOSTSCRIPT_RUN= yes
-
-RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX
-WRKSRC= ${WRKDIR}/${DISTNAME}/src
-USE_QT_VER= 3
-MAKE_ENV+= QTDIR=${QTDIR}
USE_LDCONFIG= yes
-LDCONFIG_DIRS= %%PREFIX%%/lib
-MAN1= figtoipe.1 ipe.1 ipe5toxml.1 ipetoipe.1 ipetopng.1
+USE_QT_VER= 4
+QT_COMPONENTS= gui qt3support qmake_build moc_build uic_build rcc_build
+MAN1= ipe.1 ipetoipe.1 ipetopng.1
.include <bsd.port.pre.mk>
-QTDIR?= ${QT_PREFIX}
-QMAKE?= ${LOCALBASE}/bin/qmake
-
pre-fetch:
.if !defined(WITH_TEXMF_PREFIX)
@${ECHO} ""
@@ -56,15 +47,13 @@ WITH_TEXMF_PREFIX?= ${PREFIX}/share/texmf-dist
# If you change a variable, you _must_ reconfigure.
# If it is not on this list, it will _not_ be propagated.
do-configure:
- cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \
- ${QMAKE} -spec ${LOCALBASE}/share/qt/mkspecs/freebsd-g++ \
- "PREFIX=${PREFIX}" "WWWBROWSER=${WITH_BROWSER}" \
- "CC=${CC}" "CXX=${CXX}" "LINK=${CXX}" "LINK_SHLIB=${CXX}" \
- "LOCALBASE=${LOCALBASE}" main.pro
+ cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
+ ${QMAKE} -unix PREFIX=${PREFIX} LOCALBASE=${LOCALBASE} \
+ WWWBROWSER=${WITH_BROWSER} main.pro
post-install:
- cd ${WRKSRC}/.. && mkdir -p ${DATADIR} && \
- sed s@/usr/share/texmf@${WITH_TEXMF_PREFIX}@ \
+ cd ${WRKSRC}/.. && ${MKDIR} ${DATADIR} && \
+ ${SED} s@/usr/share/texmf@${WITH_TEXMF_PREFIX}@ \
< tetex-fontmap.xml > ${DATADIR}/fontmap.xml
.include <bsd.port.post.mk>