aboutsummaryrefslogtreecommitdiffstats
path: root/print/pfaedit/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'print/pfaedit/Makefile')
-rw-r--r--print/pfaedit/Makefile16
1 files changed, 7 insertions, 9 deletions
diff --git a/print/pfaedit/Makefile b/print/pfaedit/Makefile
index 0b1dad97591..77108e4060f 100644
--- a/print/pfaedit/Makefile
+++ b/print/pfaedit/Makefile
@@ -9,8 +9,9 @@ PORTNAME= pfaedit
PORTVERSION= 20${DIST_VER}
CATEGORIES= print
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR = pfaedit
-DISTFILES= ${EXTRACT_ONLY} ${DOCFILES}
+MASTER_SITE_SUBDIR= pfaedit
+DISTFILES= ${EXTRACT_ONLY} ${DOCFILE}
+EXTRACT_ONLY= ${PORTNAME}_full-${DIST_VER}.tgz
MAINTAINER= kanou@khdd.net
COMMENT= Type 1/TrueType/OpenType/bitmap font editor
@@ -22,18 +23,19 @@ 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
+USE_AUTOCONF_VER= 253
+PATCH_STRIP= -l
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib" \
CFLAGS="${CFLAGS} -I${LOCALBASE}/include -I${LOCALBASE}/include/freetype2 -L${LOCALBASE}/lib"
WRKSRC= ${WRKDIR}/${PORTNAME}-${DIST_VER}
+INSTALLS_SHLIB= yes
+USE_LIBTOOL= yes
MAN1= pfaedit.1 sfddiff.1
@@ -43,10 +45,6 @@ post-extract:
${TAR} -xzC ${WRKSRC}/cidmap -f ${WRKDIR}/html/cidmaps.tgz
${RM} ${WRKDIR}/html/cidmaps.tgz
-# configure is not executed automatically by defining 'USE_AUTOCONF_VER=253'.
-pre-configure:
- (cd ${WRKSRC} ; autoconf)
-
post-install:
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/LICENSE ${DOCSDIR}