Lines 7-18
Link Here
|
7 |
# |
7 |
# |
8 |
|
8 |
|
9 |
PORTNAME= surf |
9 |
PORTNAME= surf |
10 |
PORTVERSION= 1.0.5 |
10 |
PORTVERSION= 1.0.6 |
11 |
PORTREVISION= 6 |
|
|
12 |
CATEGORIES= math |
11 |
CATEGORIES= math |
13 |
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} |
12 |
MASTER_SITES= SF |
14 |
|
13 |
|
15 |
USE_XORG= x11 xmu |
|
|
16 |
MAINTAINER= ports@FreeBSD.org |
14 |
MAINTAINER= ports@FreeBSD.org |
17 |
COMMENT= Visualize some real algebraic geometry |
15 |
COMMENT= Visualize some real algebraic geometry |
18 |
|
16 |
|
Lines 20-35
Link Here
|
20 |
tiff.4:${PORTSDIR}/graphics/tiff \ |
18 |
tiff.4:${PORTSDIR}/graphics/tiff \ |
21 |
gmp.8:${PORTSDIR}/math/libgmp4 |
19 |
gmp.8:${PORTSDIR}/math/libgmp4 |
22 |
|
20 |
|
|
|
21 |
USE_XORG= x11 xmu |
23 |
USE_GNOME= gtk12 |
22 |
USE_GNOME= gtk12 |
24 |
GNU_CONFIGURE= yes |
23 |
GNU_CONFIGURE= yes |
25 |
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ |
24 |
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ |
26 |
LDFLAGS="-L${LOCALBASE}/lib" |
25 |
LDFLAGS="-L${LOCALBASE}/lib" |
|
|
26 |
CONFIGURE_ARGS= --disable-cups --datadir=${PREFIX}/share |
27 |
|
27 |
|
28 |
MAN1= surf.1 |
28 |
MAN1= ${PORTNAME}.1 |
29 |
|
|
|
30 |
.if !defined(NOPORTDOCS) |
31 |
PORTDOCS= manual.sgml |
29 |
PORTDOCS= manual.sgml |
32 |
.endif |
30 |
PLIST_FILES= bin/${PORTNAME} %%DATADIR%%/${PORTNAME}.xpm |
|
|
31 |
PLIST_DIRS= %%DATADIR%% |
32 |
|
33 |
post-patch: |
34 |
@${FIND} ${WRKSRC} -name "Makefile.in" -print0 | ${XARGS} -0 \ |
35 |
${REINPLACE_CMD} -e \ |
36 |
's|@CUPS_TRUE@|#|g ; \ |
37 |
s|@CUPS_FALSE@||g' |
33 |
|
38 |
|
34 |
post-install: |
39 |
post-install: |
35 |
.if !defined(NOPORTDOCS) |
40 |
.if !defined(NOPORTDOCS) |