Lines 6-32
Link Here
|
6 |
# $FreeBSD: ports/textproc/gutenmark/Makefile,v 1.11 2011/06/17 15:37:20 bapt Exp $ |
6 |
# $FreeBSD: ports/textproc/gutenmark/Makefile,v 1.11 2011/06/17 15:37:20 bapt Exp $ |
7 |
|
7 |
|
8 |
PORTNAME= gutenmark |
8 |
PORTNAME= gutenmark |
9 |
PORTVERSION= 20020714 |
9 |
PORTVERSION= 20090510 |
10 |
PORTREVISION= 1 |
|
|
11 |
CATEGORIES= textproc |
10 |
CATEGORIES= textproc |
12 |
MASTER_SITES= ftp://ftp.sandroid.org/GutenMark/SoftwareSnapshots/ |
11 |
MASTER_SITES= http://www.sandroid.org/GutenMark/wasftp.GutenMark/SoftwareSnapshots/ |
13 |
DISTNAME= GutenMark_source_${PORTVERSION} |
12 |
DISTNAME= GutenMark_source_dev-${PORTVERSION} |
14 |
|
13 |
|
15 |
MAINTAINER= ports@FreeBSD.org |
14 |
MAINTAINER= ports@FreeBSD.org |
16 |
COMMENT= Attractively formatting Project Gutenberg texts |
15 |
COMMENT= Attractively formatting Project Gutenberg texts |
17 |
|
16 |
|
18 |
BROKEN= Does not fetch |
|
|
19 |
|
20 |
PLIST_FILES= bin/GutenMark |
21 |
WRKSRC= ${WRKDIR}/GutenMark-source |
17 |
WRKSRC= ${WRKDIR}/GutenMark-source |
|
|
18 |
|
19 |
USE_WX= 2.8 |
22 |
USE_GMAKE= yes |
20 |
USE_GMAKE= yes |
23 |
ALL_TARGET= # empty |
21 |
ALL_TARGET= default |
|
|
22 |
|
23 |
PLIST_FILES= bin/GutenMark bin/GutenSplit bin/GUItenMark \ |
24 |
%%DATADIR%%/convert.jpg %%DATADIR%%/logo.jpg |
25 |
PLIST_DIRS= %%DATADIR%% |
24 |
|
26 |
|
25 |
post-patch: |
27 |
post-patch: |
26 |
@${REINPLACE_CMD} -e "s,cc,${CC},g" \ |
28 |
@${REINPLACE_CMD} -e 's|cc|${CC}|g ; \ |
27 |
-e "s,-O3 -Wall,${CFLAGS},g" ${WRKSRC}/Makefile |
29 |
s|-O3|${CFLAGS}|g ; \ |
|
|
30 |
/strip /d' ${WRKSRC}/Makefile |
31 |
@${REINPLACE_CMD} -e 's|-Wall|${CFLAGS} -Wall|g ; \ |
32 |
/strip /d' ${WRKSRC}/GutenUtilities/Makefile |
33 |
@${REINPLACE_CMD} -e 's|g++|${CXX}|g ; \ |
34 |
s|`wx-config|`${WX_CONFIG}|g ; \ |
35 |
/strip /d' ${WRKSRC}/GUItenMark/Makefile |
36 |
@${REINPLACE_CMD} -e 's|\./convert.jpg|${DATADIR}/convert.jpg|g ; \ |
37 |
s|\./logo.jpg|${DATADIR}/logo.jpg|g' ${WRKSRC}/GUItenMark/GUItenMark.cpp |
28 |
|
38 |
|
29 |
do-install: |
39 |
do-install: |
30 |
${INSTALL_PROGRAM} ${WRKSRC}/GutenMark ${PREFIX}/bin |
40 |
${INSTALL_PROGRAM} ${WRKSRC}/GutenMark ${PREFIX}/bin |
|
|
41 |
${INSTALL_PROGRAM} ${WRKSRC}/GutenUtilities/GutenSplit ${PREFIX}/bin |
42 |
${INSTALL_PROGRAM} ${WRKSRC}/GUItenMark/GUItenMark ${PREFIX}/bin |
43 |
@${MKDIR} ${DATADIR} |
44 |
${INSTALL_DATA} ${WRKSRC}/GUItenMark/*.jpg ${DATADIR} |
31 |
|
45 |
|
32 |
.include <bsd.port.mk> |
46 |
.include <bsd.port.mk> |