aboutsummaryrefslogtreecommitdiff
path: root/print/pfaedit/Makefile
diff options
context:
space:
mode:
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}