Lines 6-18
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= libfov |
8 |
PORTNAME= libfov |
9 |
PORTVERSION= 1.0.3 |
9 |
PORTVERSION= 1.0.4 |
10 |
CATEGORIES= games devel |
10 |
CATEGORIES= games devel |
11 |
MASTER_SITES= http://libfov.googlecode.com/files/ |
11 |
MASTER_SITES= GOOGLE_CODE |
12 |
|
12 |
|
13 |
MAINTAINER= ports@FreeBSD.org |
13 |
MAINTAINER= ports@FreeBSD.org |
14 |
COMMENT= C library for calculating fields of view on low resolution rasters |
14 |
COMMENT= C library for calculating fields of view on low resolution rasters |
15 |
|
15 |
|
|
|
16 |
LICENSE= MIT |
17 |
LICENSE_FILE= ${WRKSRC}/COPYING |
18 |
|
16 |
BUILD_DEPENDS= pkg-config>0:${PORTSDIR}/devel/pkg-config |
19 |
BUILD_DEPENDS= pkg-config>0:${PORTSDIR}/devel/pkg-config |
17 |
|
20 |
|
18 |
USE_GNOME= gnomehack |
21 |
USE_GNOME= gnomehack |
Lines 24-31
Link Here
|
24 |
@${CHMOD} ${BINMODE} ${WRKSRC}/install-sh |
27 |
@${CHMOD} ${BINMODE} ${WRKSRC}/install-sh |
25 |
|
28 |
|
26 |
post-patch: |
29 |
post-patch: |
27 |
@${REINPLACE_CMD} -e 's|^CFLAGS=|#CFLAGS=|g' ${WRKSRC}/configure |
30 |
@${REINPLACE_CMD} -e \ |
28 |
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \ |
31 |
's|^CFLAGS=|#CFLAGS=|' ${WRKSRC}/configure |
29 |
's|^AM_CFLAGS|#AM_CFLAGS|g' |
32 |
@${REINPLACE_CMD} -e \ |
|
|
33 |
'/^SUBDIRS/s|=.*|= fov|' ${WRKSRC}/Makefile.in |
34 |
@${REINPLACE_CMD} -e \ |
35 |
's|^AM_CFLAGS|#AM_CFLAGS|' ${WRKSRC}/fov/Makefile.in |
30 |
|
36 |
|
31 |
.include <bsd.port.mk> |
37 |
.include <bsd.port.mk> |