80e9ddb715
PR: 57934 Submitted by: KANOU Hiroki <kanou@khdd.net> (maintainer)
61 lines
1.6 KiB
Makefile
61 lines
1.6 KiB
Makefile
# New ports collection makefile for: pfaedit
|
|
# Date created: 25 March 2001
|
|
# Whom: KANOU Hiroki <kanou@khdd.net>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= pfaedit
|
|
PORTVERSION= 20${DIST_VER}
|
|
CATEGORIES= print
|
|
MASTER_SITES= http://pfaedit.sourceforge.net/ \
|
|
${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR = libuninameslist
|
|
DISTFILES= ${EXTRACT_ONLY}
|
|
.if !defined(NOPORTDOCS)
|
|
DISTFILES+= ${DOCFILE}
|
|
.endif
|
|
EXTRACT_ONLY= ${PORTNAME}_full-${DIST_VER}.tgz \
|
|
libuninameslist_src-${LIBUNINAMESLIST_VER}.tgz
|
|
|
|
MAINTAINER= kanou@khdd.net
|
|
COMMENT= Type 1/TrueType/OpenType/bitmap font editor
|
|
|
|
LIB_DEPENDS= tiff.4:${PORTSDIR}/graphics/tiff \
|
|
jpeg.9:${PORTSDIR}/graphics/jpeg \
|
|
png.5:${PORTSDIR}/graphics/png \
|
|
ungif.5:${PORTSDIR}/graphics/libungif \
|
|
freetype.9:${PORTSDIR}/print/freetype2 \
|
|
xml2:${PORTSDIR}/textproc/libxml2
|
|
|
|
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"
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${DIST_VER}
|
|
INSTALLS_SHLIB= yes
|
|
|
|
MAN1= pfaedit.1 sfddiff.1
|
|
|
|
DIST_VER= 031012
|
|
LIBUNINAMESLIST_VER= 030713
|
|
|
|
post-configure:
|
|
(cd ${WRKDIR}/libuninameslist ; ./configure ${CONFIGURE_ARGS} )
|
|
|
|
post-build:
|
|
(cd ${WRKDIR}/libuninameslist ; ${GMAKE} )
|
|
|
|
post-install:
|
|
${MKDIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/LICENSE ${DOCSDIR}
|
|
.if !defined(NOPORTDOCS)
|
|
${RM} -rf ${WRKSRC}/htdocs/*/ ${WRKSRC}/htdocs/cidmaps.tgz
|
|
${INSTALL_DATA} ${WRKSRC}/htdocs/* ${DOCSDIR}
|
|
(cd ${WRKDIR}/libuninameslist ; ${GMAKE} install )
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|