Lines 7-12
Link Here
|
7 |
|
7 |
|
8 |
PORTNAME= libwmf |
8 |
PORTNAME= libwmf |
9 |
PORTVERSION= 0.2.5 |
9 |
PORTVERSION= 0.2.5 |
|
|
10 |
PORTREVISION= 1 |
10 |
CATEGORIES= graphics |
11 |
CATEGORIES= graphics |
11 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
12 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
12 |
MASTER_SITE_SUBDIR= wvware |
13 |
MASTER_SITE_SUBDIR= wvware |
Lines 14-39
Link Here
|
14 |
MAINTAINER= ports@FreeBSD.org |
15 |
MAINTAINER= ports@FreeBSD.org |
15 |
|
16 |
|
16 |
BUILD_DEPENDS= freetype-config:${PORTSDIR}/print/freetype2 # XXX |
17 |
BUILD_DEPENDS= freetype-config:${PORTSDIR}/print/freetype2 # XXX |
17 |
LIB_DEPENDS= jpeg:${PORTSDIR}/graphics/jpeg \ |
18 |
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \ |
18 |
png:${PORTSDIR}/graphics/png \ |
19 |
png.5:${PORTSDIR}/graphics/png \ |
19 |
freetype.9:${PORTSDIR}/print/freetype2 \ |
20 |
freetype.9:${PORTSDIR}/print/freetype2 \ |
20 |
xml2.5:${PORTSDIR}/textproc/libxml2 |
21 |
xml2.5:${PORTSDIR}/textproc/libxml2 |
21 |
|
22 |
|
22 |
.ifndef (WITHOUT_X11) |
|
|
23 |
USE_XLIB= yes |
24 |
PLIST_SUB+= X11='' |
25 |
.else |
26 |
PKGNAMESUFFIX= -nox11 |
27 |
PLIST_SUB+= X11='@comment ' |
28 |
.endif |
29 |
|
30 |
GNU_CONFIGURE= yes |
23 |
GNU_CONFIGURE= yes |
31 |
CONFIGURE_TARGET= # none |
24 |
CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL} |
32 |
CONFIGURE_ARGS= --build=${ARCH}-portbld-freebsd${OSREL} \ |
25 |
CONFIGURE_ARGS= --enable-magick --with-sys-gd=no \ |
33 |
--enable-magick --with-sys-gd=no \ |
|
|
34 |
--with-png=${LOCALBASE} --with-jpeg=${LOCALBASE} \ |
26 |
--with-png=${LOCALBASE} --with-jpeg=${LOCALBASE} \ |
35 |
--with-gsfontdir=${LOCALBASE}/share/ghostscript/fonts |
27 |
--with-gsfontdir=${LOCALBASE}/share/ghostscript/fonts |
36 |
INSTALLS_SHLIB= yes |
28 |
INSTALLS_SHLIB= yes |
|
|
29 |
|
30 |
.if defined(WITHOUT_X11) |
31 |
PKGNAMESUFFIX= -nox11 |
32 |
CONFIGURE_ARGS+= --with-x=no |
33 |
PLIST_SUB+= X11='@comment ' |
34 |
.else |
35 |
USE_XLIB= yes |
36 |
PLIST_SUB+= X11='' |
37 |
.endif |
37 |
|
38 |
|
38 |
pre-patch: |
39 |
pre-patch: |
39 |
@${PERL} -pi -e 's|src include fonts doc|src include fonts|g' \ |
40 |
@${PERL} -pi -e 's|src include fonts doc|src include fonts|g' \ |