blob: 9173637f61e993d11483dcfbe83e5a2d8bb09940 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
# New ports collection makefile for: pfaedit
# Date created: 25 March 2001
# Whom: KANOU Hiroki <kanou@khdd.net>
#
# $FreeBSD$
#
PORTNAME= pfaedit
PORTVERSION= 20${DIST_VER}
PORTREVISION= 1
CATEGORIES= print
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
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
LIB_DEPENDS= uninameslist.0:${PORTSDIR}/textproc/libuninameslist \
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
DOCFILE= ${PORTNAME}_htdocs-${DIST_VER}.tgz
DIST_VER= 031210
USE_GMAKE= yes
USE_XLIB= 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
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
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/LICENSE ${DOCSDIR}
${INSTALL_DATA} ${WRKDIR}/html/* ${DOCSDIR}
.endif
.include <bsd.port.mk>
|