blob: 7f66f31a1d93fbe9c127f976179f344544bea8de (
plain)
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
|
# 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 cidmaps.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
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}
INSTALLS_SHLIB= yes
MAN1= pfaedit.1 sfddiff.1
DIST_VER= 030429
LIBUNINAMESLIST_VER= 030116
.if !defined(NOPORTDOCS)
DOC_VER= ${DIST_VER}
DOCFILE= ${PORTNAME}_htdocs-${DOC_VER}.tgz
.endif
.if !defined(NOPORTDOCS)
post-extract:
${MKDIR} ${WRKDIR}/html ${WRKSRC}/cidmap
${TAR} -xzC ${WRKDIR}/html -f ${DISTDIR}/${DOCFILE}
${RM} ${WRKDIR}/html/cidmaps.tgz
${MV} ${WRKDIR}/*.cidmap ${WRKSRC}/cidmap
.else
${MKDIR} ${WRKSRC}/cidmap
${MV} ${WRKDIR}/*.cidmap ${WRKSRC}/cidmap
.endif
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)
${INSTALL_DATA} ${WRKDIR}/html/* ${DOCSDIR}
(cd ${WRKDIR}/libuninameslist ; ${GMAKE} install )
.endif
.include <bsd.port.mk>
|