|
Lines 9-17
Link Here
|
| 9 |
PORTVERSION= 20${DIST_VER} |
9 |
PORTVERSION= 20${DIST_VER} |
| 10 |
CATEGORIES= print |
10 |
CATEGORIES= print |
| 11 |
MASTER_SITES= http://pfaedit.sourceforge.net/ |
11 |
MASTER_SITES= http://pfaedit.sourceforge.net/ |
| 12 |
DISTFILES= ${PORTNAME}_full-${DIST_VER}.tgz cidmaps.tgz |
12 |
DISTFILES= ${EXTRACT_ONLY} |
| 13 |
.if !defined(NOPORTDOCS) |
13 |
.if !defined(NOPORTDOCS) |
| 14 |
DISTFILES+= ${PORTNAME}_htdocs-${DOC_VER}.tgz |
14 |
DISTFILES+= ${DOCFILE} |
| 15 |
.endif |
15 |
.endif |
| 16 |
|
16 |
|
| 17 |
MAINTAINER= kanou@mil.allnet.ne.jp |
17 |
MAINTAINER= kanou@mil.allnet.ne.jp |
|
Lines 30-41
Link Here
|
| 30 |
WRKSRC= ${WRKDIR}/${PORTNAME} |
30 |
WRKSRC= ${WRKDIR}/${PORTNAME} |
| 31 |
ALL_TARGET= pfaedit |
31 |
ALL_TARGET= pfaedit |
| 32 |
|
32 |
|
| 33 |
MAN1= pfaedit.1 |
33 |
MAN1= pfaedit.1 sfddiff.1 |
| 34 |
|
34 |
|
| 35 |
DIST_VER= 020306 |
35 |
DIST_VER= 020310 |
|
|
36 |
EXTRACT_ONLY= ${PORTNAME}_full-${DIST_VER}.tgz cidmaps.tgz |
| 36 |
|
37 |
|
| 37 |
.if !defined(NOPORTDOCS) |
38 |
.if !defined(NOPORTDOCS) |
| 38 |
DOC_VER= 020214 |
39 |
DOC_VER= 020214 |
|
|
40 |
DOCFILE= ${PORTNAME}_htdocs-${DOC_VER}.tgz |
| 39 |
DOCFILES= AA-Comparison.html HotKeys.html MetaFont.html \ |
41 |
DOCFILES= AA-Comparison.html HotKeys.html MetaFont.html \ |
| 40 |
Problems-MacOSX.html accented.html bezier.html bitmapview.html \ |
42 |
Problems-MacOSX.html accented.html bezier.html bitmapview.html \ |
| 41 |
charview.html cidmenu.html cliargs.html corpchar.html \ |
43 |
charview.html cidmenu.html cliargs.html corpchar.html \ |
|
Lines 77-103
Link Here
|
| 77 |
document.nvd |
79 |
document.nvd |
| 78 |
.endif |
80 |
.endif |
| 79 |
|
81 |
|
|
|
82 |
.if !defined(NOPORTDOCS) |
| 83 |
post-extract: |
| 84 |
${MKDIR} ${WRKDIR}/html |
| 85 |
${TAR} -xzC ${WRKDIR}/html -f ${DISTDIR}/${DOCFILE} |
| 86 |
.endif |
| 87 |
|
| 80 |
post-patch: |
88 |
post-patch: |
| 81 |
${PERL} -pi.orig -e \ |
89 |
${PERL} -pi.orig -e \ |
| 82 |
's,/usr/include/freetype2,${PREFIX}/include/freetype2 -I${PREFIX}/include,g' \ |
90 |
's,/usr/include/freetype2,${PREFIX}/include/freetype2 -I${PREFIX}/include,g' \ |
| 83 |
${WRKSRC}/configure ${WRKSRC}/configure.in \ |
91 |
${WRKSRC}/configure ${WRKSRC}/configure.in \ |
| 84 |
${WRKSRC}/configure.pfaedit ${WRKSRC}/configure.pfaedit.in \ |
92 |
${WRKSRC}/configure.pfaedit ${WRKSRC}/configure.pfaedit.in \ |
| 85 |
${WRKSRC}/configure.static ${WRKSRC}/configure.static.in \ |
93 |
${WRKSRC}/configure.static.in \ |
| 86 |
${WRKSRC}/configure.ttfmod ${WRKSRC}/configure.ttfmod.in |
94 |
${WRKSRC}/configure.ttfmod ${WRKSRC}/configure.ttfmod.in |
| 87 |
${PERL} -pi.orig -e 's,/usr/share/,${PREFIX}/share/,g' \ |
95 |
${PERL} -pi.orig -e 's,/usr/share/,${PREFIX}/share/,g' \ |
| 88 |
${WRKSRC}/pfaedit/pfaedit.1 |
96 |
${WRKSRC}/pfaedit/pfaedit.1 |
| 89 |
${PERL} -pi.orig -e 's,/usr/pkg/,${PREFIX}/,g' \ |
97 |
${PERL} -pi.orig -e 's,/usr/pkg/,${PREFIX}/,g' \ |
| 90 |
${WRKSRC}/*/[mM]akefile.* |
98 |
${WRKSRC}/*/[mM]akefile.* |
| 91 |
|
99 |
|
| 92 |
do-install: |
100 |
post-install: |
| 93 |
${INSTALL_PROGRAM} ${WRKSRC}/pfaedit/pfaedit ${PREFIX}/bin |
101 |
${INSTALL_DATA} ${WRKDIR}/*.cidmap ${DATADIR} |
| 94 |
${MKDIR} ${PREFIX}/share/pfaedit |
102 |
${MKDIR} ${DOCSDIR} |
| 95 |
${INSTALL_DATA} ${WRKDIR}/*.cidmap ${PREFIX}/share/pfaedit |
103 |
${INSTALL_DATA} ${WRKSRC}/LICENSE ${DOCSDIR} |
| 96 |
${MKDIR} ${PREFIX}/share/doc/pfaedit |
|
|
| 97 |
${INSTALL_DATA} ${WRKSRC}/LICENSE ${PREFIX}/share/doc/pfaedit |
| 98 |
${INSTALL_MAN} ${WRKSRC}/pfaedit/pfaedit.1 ${PREFIX}/man/man1 |
| 99 |
.if !defined(NOPORTDOCS) |
104 |
.if !defined(NOPORTDOCS) |
| 100 |
(cd ${WRKDIR}; ${INSTALL_DATA} ${DOCFILES} ${PREFIX}/share/doc/pfaedit) |
105 |
(cd ${WRKDIR}/html; ${INSTALL_DATA} ${DOCFILES} ${DOCSDIR}) |
| 101 |
.endif |
106 |
.endif |
| 102 |
|
107 |
|
| 103 |
.include <bsd.port.mk> |
108 |
.include <bsd.port.mk> |