Lines 8-14
Link Here
|
8 |
|
8 |
|
9 |
PORTNAME= gxmlviewer |
9 |
PORTNAME= gxmlviewer |
10 |
PORTVERSION= 1.3.3 |
10 |
PORTVERSION= 1.3.3 |
11 |
PORTREVISION= 1 |
11 |
PORTREVISION= 2 |
12 |
CATEGORIES= textproc |
12 |
CATEGORIES= textproc |
13 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
13 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
14 |
MASTER_SITE_SUBDIR= ${PORTNAME} |
14 |
MASTER_SITE_SUBDIR= ${PORTNAME} |
Lines 16-38
Link Here
|
16 |
MAINTAINER= ports@FreeBSD.org |
16 |
MAINTAINER= ports@FreeBSD.org |
17 |
COMMENT= An xmlviewer with a netscape plugin, and now a bonobo control as well |
17 |
COMMENT= An xmlviewer with a netscape plugin, and now a bonobo control as well |
18 |
|
18 |
|
19 |
LIB_DEPENDS= xml2.5:${PORTSDIR}/textproc/libxml2 |
19 |
USE_X_PREFIX= yes |
20 |
|
20 |
USE_GNOME= bonobo gnomehack gnomelibs gnomeprefix libxml2 |
21 |
BROKEN= Incomplete pkg-plist |
|
|
22 |
|
23 |
USE_GETTEXT= yes |
21 |
USE_GETTEXT= yes |
24 |
USE_REINPLACE= yes |
22 |
USE_REINPLACE= yes |
25 |
USE_X_PREFIX= yes |
|
|
26 |
USE_GNOME= gnomelibs bonobo gnomeprefix |
27 |
GNU_CONFIGURE= yes |
23 |
GNU_CONFIGURE= yes |
28 |
CONFIGURE_ARGS= --with-libiconv-prefix="${LOCALBASE}" |
24 |
CONFIGURE_ARGS= --with-libiconv-prefix="${LOCALBASE}" |
29 |
|
25 |
|
30 |
.if ${MACHINE_ARCH:L} == "amd64" |
|
|
31 |
CFLAGS+= -fPIC |
32 |
.endif |
33 |
|
34 |
post-patch: |
26 |
post-patch: |
35 |
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure |
|
|
36 |
@${REINPLACE_CMD} -e 's|intl||g' ${WRKSRC}/Makefile.in |
27 |
@${REINPLACE_CMD} -e 's|intl||g' ${WRKSRC}/Makefile.in |
|
|
28 |
@${REINPLACE_CMD} -e 's|= -DXP_UNIX|= -fPIC -DXP_UNIX|g ; \ |
29 |
s|/netscape/|/gxmlviewer/|g' ${WRKSRC}/src/nsplugin/Makefile.in |
30 |
|
31 |
post-install: |
32 |
@${MKDIR} ${X11BASE}/lib/browser_plugins |
33 |
@${LN} -sf ${PREFIX}/lib/gxmlviewer/plugins/npgxmlviewer.so \ |
34 |
${X11BASE}/lib/browser_plugins/npgxmlviewer.so |
37 |
|
35 |
|
38 |
.include <bsd.port.mk> |
36 |
.include <bsd.port.mk> |