aboutsummaryrefslogtreecommitdiffstats
path: root/print/pfaedit/Makefile
diff options
context:
space:
mode:
authornork <nork@FreeBSD.org>2004-01-22 22:58:40 +0800
committernork <nork@FreeBSD.org>2004-01-22 22:58:40 +0800
commitf0f6a6a506932bc0deb37496252e102c33722c63 (patch)
treecab40f9db302fc4721ca400b950a628d17efff9d /print/pfaedit/Makefile
parent2f8ec274b161b69a8c86bb205e0028866d1b557d (diff)
downloadfreebsd-ports-gnome-f0f6a6a506932bc0deb37496252e102c33722c63.tar.gz
freebsd-ports-gnome-f0f6a6a506932bc0deb37496252e102c33722c63.tar.zst
freebsd-ports-gnome-f0f6a6a506932bc0deb37496252e102c33722c63.zip
Update to 20031210.
PR: ports/61725 Submitted by: KANOU Hiroki <kanou@khdd.net> (maintainer)
Diffstat (limited to 'print/pfaedit/Makefile')
-rw-r--r--print/pfaedit/Makefile32
1 files changed, 12 insertions, 20 deletions
diff --git a/print/pfaedit/Makefile b/print/pfaedit/Makefile
index 97b7bb918722..0b1dad975916 100644
--- a/print/pfaedit/Makefile
+++ b/print/pfaedit/Makefile
@@ -10,11 +10,7 @@ PORTVERSION= 20${DIST_VER}
CATEGORIES= print
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR = pfaedit
-DISTFILES= ${EXTRACT_ONLY}
-.if !defined(NOPORTDOCS)
-DISTFILES+= ${DOCFILE}
-.endif
-EXTRACT_ONLY= ${PORTNAME}_full-${DIST_VER}.tgz cidmaps.tgz
+DISTFILES= ${EXTRACT_ONLY} ${DOCFILES}
MAINTAINER= kanou@khdd.net
COMMENT= Type 1/TrueType/OpenType/bitmap font editor
@@ -26,34 +22,30 @@ LIB_DEPENDS= uninameslist.0:${PORTSDIR}/textproc/libuninameslist \
ungif.5:${PORTSDIR}/graphics/libungif \
freetype.9:${PORTSDIR}/print/freetype2 \
xml2:${PORTSDIR}/textproc/libxml2
+BUILD_DEPENDS= autoconf:${PORTSDIR}/devel/autoconf253
+
+EXTRACT_ONLY= ${PORTNAME}_full-${DIST_VER}.tgz
+DOCFILE= ${PORTNAME}_htdocs-${DIST_VER}.tgz
+DIST_VER= 031210
USE_GMAKE= yes
USE_XLIB= yes
GNU_CONFIGURE= yes
-#CONFIGURE_SCRIPT= configure.static
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib" \
- CFLAGS="${CFLAGS} -I${LOCALBASE}/include -I${LOCALBASE}/include/freetype2"
+ CFLAGS="${CFLAGS} -I${LOCALBASE}/include -I${LOCALBASE}/include/freetype2 -L${LOCALBASE}/lib"
WRKSRC= ${WRKDIR}/${PORTNAME}-${DIST_VER}
-INSTALLS_SHLIB= yes
MAN1= pfaedit.1 sfddiff.1
-DIST_VER= 031029
-
-.if !defined (NOPORTDOCS)
-DOCFILE= ${PORTNAME}_htdocs-${DIST_VER}.tgz
-.endif
-
-.if !defined (NOPORTDOCS)
post-extract:
${MKDIR} ${WRKDIR}/html ${WRKSRC}/cidmap
${TAR} -xzC ${WRKDIR}/html -f ${DISTDIR}/${DOCFILE}
+ ${TAR} -xzC ${WRKSRC}/cidmap -f ${WRKDIR}/html/cidmaps.tgz
${RM} ${WRKDIR}/html/cidmaps.tgz
- ${MV} ${WRKDIR}/*.cidmap ${WRKSRC}/cidmap
-.else
- ${MKDIR} ${WRKSRC}/cidmap
- ${MV} ${WRKDIR}/*.cidmap ${WRKSRC}/cidmap
-.endif
+
+# configure is not executed automatically by defining 'USE_AUTOCONF_VER=253'.
+pre-configure:
+ (cd ${WRKSRC} ; autoconf)
post-install:
${MKDIR} ${DOCSDIR}