Lines 6-32
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= vp |
8 |
PORTNAME= vp |
9 |
PORTVERSION= 1.6 |
9 |
PORTVERSION= 1.7 |
10 |
PORTREVISION= 2 |
|
|
11 |
CATEGORIES= graphics |
10 |
CATEGORIES= graphics |
12 |
MASTER_SITES= http://math.missouristate.edu/~erik/files/ |
11 |
MASTER_SITES= http://math.missouristate.edu/~erik/files/ |
13 |
|
12 |
|
14 |
MAINTAINER= ports@FreeBSD.org |
13 |
MAINTAINER= erik@smluc.org |
15 |
COMMENT= An image viewer for X |
14 |
COMMENT= An image viewer for X |
16 |
|
15 |
|
17 |
USE_SDL= image |
16 |
USE_SDL= image |
18 |
USE_GETOPT_LONG= yes |
17 |
USE_GETOPT_LONG= yes |
19 |
GNU_CONFIGURE= yes |
18 |
GNU_CONFIGURE= yes |
20 |
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} |
19 |
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} \ |
|
|
20 |
--x-includes=${X11BASE}/include --x-libraries=${X11BASE}/lib |
21 |
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" |
21 |
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" |
22 |
|
22 |
|
23 |
MAN1= vp.1 |
23 |
MAN1= vp.1 |
24 |
PLIST_FILES= bin/vp |
24 |
PLIST_FILES= bin/vp |
25 |
|
25 |
|
26 |
CPPFLAGS= -I${LOCALBASE}/include |
|
|
27 |
LDFLAGS= -L${LOCALBASE}/lib |
28 |
|
29 |
post-patch: |
30 |
@${REINPLACE_CMD} -e 's,/usr/X11R6,${X11BASE},g' ${WRKSRC}/configure |
31 |
|
32 |
.include <bsd.port.mk> |
26 |
.include <bsd.port.mk> |