2001-05-19 19:09:56 +02:00
|
|
|
# New ports collection makefile for: pfaedit
|
|
|
|
# Date created: 25 March 2001
|
2003-03-23 13:16:51 +01:00
|
|
|
# Whom: KANOU Hiroki <kanou@khdd.net>
|
2001-05-19 19:09:56 +02:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= pfaedit
|
2002-01-23 04:06:45 +01:00
|
|
|
PORTVERSION= 20${DIST_VER}
|
2001-05-19 19:09:56 +02:00
|
|
|
CATEGORIES= print
|
2003-01-28 23:05:04 +01:00
|
|
|
MASTER_SITES= http://pfaedit.sourceforge.net/ \
|
|
|
|
${MASTER_SITE_SOURCEFORGE}
|
2003-01-31 05:41:36 +01:00
|
|
|
MASTER_SITE_SUBDIR = libuninameslist
|
2002-03-12 02:24:13 +01:00
|
|
|
DISTFILES= ${EXTRACT_ONLY}
|
2002-02-22 07:52:23 +01:00
|
|
|
.if !defined(NOPORTDOCS)
|
2002-03-12 02:24:13 +01:00
|
|
|
DISTFILES+= ${DOCFILE}
|
2002-02-22 07:52:23 +01:00
|
|
|
.endif
|
2003-10-14 10:08:56 +02:00
|
|
|
EXTRACT_ONLY= ${PORTNAME}_full-${DIST_VER}.tgz \
|
2003-01-28 23:05:04 +01:00
|
|
|
libuninameslist_src-${LIBUNINAMESLIST_VER}.tgz
|
2001-05-19 19:09:56 +02:00
|
|
|
|
2003-03-23 13:16:51 +01:00
|
|
|
MAINTAINER= kanou@khdd.net
|
2003-02-21 14:28:59 +01:00
|
|
|
COMMENT= Type 1/TrueType/OpenType/bitmap font editor
|
2001-05-19 19:09:56 +02:00
|
|
|
|
|
|
|
LIB_DEPENDS= tiff.4:${PORTSDIR}/graphics/tiff \
|
|
|
|
jpeg.9:${PORTSDIR}/graphics/jpeg \
|
2001-09-11 04:59:20 +02:00
|
|
|
png.5:${PORTSDIR}/graphics/png \
|
2002-02-22 07:52:23 +01:00
|
|
|
ungif.5:${PORTSDIR}/graphics/libungif \
|
2003-08-06 22:53:10 +02:00
|
|
|
freetype.9:${PORTSDIR}/print/freetype2 \
|
|
|
|
xml2:${PORTSDIR}/textproc/libxml2
|
2001-05-19 19:09:56 +02:00
|
|
|
|
2001-11-25 18:17:36 +01:00
|
|
|
USE_GMAKE= yes
|
2001-05-19 19:09:56 +02:00
|
|
|
USE_XLIB= yes
|
|
|
|
GNU_CONFIGURE= yes
|
2003-05-03 17:58:41 +02:00
|
|
|
#CONFIGURE_SCRIPT= configure.static
|
2002-05-21 17:46:54 +02:00
|
|
|
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib" \
|
2003-01-28 23:05:04 +01:00
|
|
|
CFLAGS="${CFLAGS} -I${LOCALBASE}/include -I${LOCALBASE}/include/freetype2"
|
2003-07-03 07:54:07 +02:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${DIST_VER}
|
2003-01-28 23:05:04 +01:00
|
|
|
INSTALLS_SHLIB= yes
|
2001-05-19 19:09:56 +02:00
|
|
|
|
2002-03-12 02:24:13 +01:00
|
|
|
MAN1= pfaedit.1 sfddiff.1
|
2001-05-19 19:09:56 +02:00
|
|
|
|
2003-10-14 10:08:56 +02:00
|
|
|
DIST_VER= 031012
|
2003-08-28 04:04:41 +02:00
|
|
|
LIBUNINAMESLIST_VER= 030713
|
2002-02-22 07:52:23 +01:00
|
|
|
|
2003-01-28 23:05:04 +01:00
|
|
|
post-configure:
|
|
|
|
(cd ${WRKDIR}/libuninameslist ; ./configure ${CONFIGURE_ARGS} )
|
|
|
|
|
|
|
|
post-build:
|
|
|
|
(cd ${WRKDIR}/libuninameslist ; ${GMAKE} )
|
|
|
|
|
2002-03-12 02:24:13 +01:00
|
|
|
post-install:
|
|
|
|
${MKDIR} ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/LICENSE ${DOCSDIR}
|
2002-02-22 07:52:23 +01:00
|
|
|
.if !defined(NOPORTDOCS)
|
2003-10-14 10:08:56 +02:00
|
|
|
${RM} -rf ${WRKSRC}/htdocs/*/ ${WRKSRC}/htdocs/cidmaps.tgz
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/htdocs/* ${DOCSDIR}
|
2003-01-28 23:05:04 +01:00
|
|
|
(cd ${WRKDIR}/libuninameslist ; ${GMAKE} install )
|
2002-02-22 07:52:23 +01:00
|
|
|
.endif
|
2001-05-19 19:09:56 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|