Lines 4-20
Link Here
|
4 |
PORTNAME= quat |
4 |
PORTNAME= quat |
5 |
PORTVERSION= 1.20 |
5 |
PORTVERSION= 1.20 |
6 |
CATEGORIES= graphics |
6 |
CATEGORIES= graphics |
7 |
#MASTER_SITES= http://www.physcip.uni-stuttgart.de/phy11733/download/ |
7 |
MASTER_SITES= https://www.physcip.uni-stuttgart.de/pages/~phy11733/download/ |
8 |
MASTER_SITES= http://www.sourcefiles.org/Graphics/Fractals/ |
|
|
9 |
|
8 |
|
10 |
MAINTAINER= ports@FreeBSD.org |
9 |
MAINTAINER= ports@FreeBSD.org |
11 |
COMMENT= Three-dimensional fractal creator (command line only) |
10 |
COMMENT= Three-dimensional fractal creator (command line only) |
12 |
|
11 |
|
13 |
BROKEN= unfetchable |
|
|
14 |
LICENSE= GPLv2+ |
12 |
LICENSE= GPLv2+ |
15 |
|
13 |
|
16 |
OPTIONS_DEFINE= OPTIMIZED_CFLAGS DOCS |
|
|
17 |
|
18 |
GNU_CONFIGURE= yes |
14 |
GNU_CONFIGURE= yes |
19 |
CONFIGURE_ARGS= --disable-gui \ |
15 |
CONFIGURE_ARGS= --disable-gui \ |
20 |
--datadir=${PREFIX}/share/doc |
16 |
--datadir=${PREFIX}/share/doc |
Lines 22-32
Link Here
|
22 |
PORTDOCS= * |
18 |
PORTDOCS= * |
23 |
PLIST_FILES= bin/quat-txt |
19 |
PLIST_FILES= bin/quat-txt |
24 |
|
20 |
|
25 |
.include <bsd.port.options.mk> |
21 |
OPTIONS_DEFINE= DOCS OPTIMIZED_CFLAGS |
26 |
|
22 |
|
27 |
.if ${PORT_OPTIONS:MOPTIMIZED_CFLAGS} |
23 |
OPTIMIZED_CFLAGS_CFLAGS= -O3 -ffast-math |
28 |
CFLAGS+= -O3 -ffast-math |
|
|
29 |
.endif |
30 |
|
24 |
|
31 |
post-patch: |
25 |
post-patch: |
32 |
@${REINPLACE_CMD} -E -e \ |
26 |
@${REINPLACE_CMD} -E -e \ |
Lines 38-50
Link Here
|
38 |
# disable data file installation since distfile does not do |
32 |
# disable data file installation since distfile does not do |
39 |
# The Right Thing(TM) |
33 |
# The Right Thing(TM) |
40 |
@${REINPLACE_CMD} -E -e \ |
34 |
@${REINPLACE_CMD} -E -e \ |
41 |
's|^(install-data-am:).*$$|\1| ; \ |
35 |
's|^(install-data-am:).*$$|\1|' \ |
42 |
s|^(SUBDIRS.*)doc|\1|' \ |
|
|
43 |
${WRKSRC}/Makefile.in |
36 |
${WRKSRC}/Makefile.in |
44 |
|
37 |
|
45 |
post-install: |
|
|
46 |
@${MKDIR} ${STAGEDIR}${DOCSDIR} |
47 |
@(cd ${WRKSRC}/doc && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} \ |
48 |
${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET}) |
49 |
|
50 |
.include <bsd.port.mk> |
38 |
.include <bsd.port.mk> |