View | Details | Raw Unified | Return to bug 197786 | Differences between
and this patch

Collapse All | Expand All

(-)math/pspp/Makefile (-3 / +17 lines)
Lines 3-12 Link Here
3
3
4
PORTNAME=	pspp
4
PORTNAME=	pspp
5
PORTVERSION=	0.8.4
5
PORTVERSION=	0.8.4
6
PORTREVISION=	1
6
CATEGORIES=	math
7
CATEGORIES=	math
7
MASTER_SITES=	GNU
8
MASTER_SITES=	GNU
8
9
9
MAINTAINER=	ports@FreeBSD.org
10
MAINTAINER=	cpm@fbsd.es
10
COMMENT=	Program for statistical analysis of sampled data
11
COMMENT=	Program for statistical analysis of sampled data
11
12
12
LICENSE=	GPLv3
13
LICENSE=	GPLv3
Lines 21-26 USE_PERL5= build Link Here
21
GNU_CONFIGURE=	yes
22
GNU_CONFIGURE=	yes
22
MAKE_ARGS=	MAKEINFO="${LOCALBASE}/bin/makeinfo" \
23
MAKE_ARGS=	MAKEINFO="${LOCALBASE}/bin/makeinfo" \
23
		XMLLINT="${LOCALBASE}/bin/xmllint"
24
		XMLLINT="${LOCALBASE}/bin/xmllint"
25
INSTALL_TARGET=	install-strip
24
USE_LDCONFIG=	yes
26
USE_LDCONFIG=	yes
25
27
26
CPPFLAGS+=	-I${LOCALBASE}/include
28
CPPFLAGS+=	-I${LOCALBASE}/include
Lines 28-33 LDFLAGS+= -L${LOCALBASE}/lib Link Here
28
30
29
PLIST_SUB=	VERSION="${PORTVERSION}"
31
PLIST_SUB=	VERSION="${PORTVERSION}"
30
32
33
PORTDOCS=	AUTHORS ChangeLog NEWS ONEWS README THANKS TODO
31
INFO=		pspp pspp-dev
34
INFO=		pspp pspp-dev
32
35
33
OPTIONS_DEFINE=		DOCS GUI NLS PGSQL
36
OPTIONS_DEFINE=		DOCS GUI NLS PGSQL
Lines 38-47 GUI_RUN_DEPENDS= yelp:${PORTSDIR}/x11/yelp Link Here
38
GUI_USES=		desktop-file-utils
41
GUI_USES=		desktop-file-utils
39
GUI_USE=		gnome=gtksourceview2,libglade2
42
GUI_USE=		gnome=gtksourceview2,libglade2
40
GUI_CONFIGURE_WITH=	cairo gui gui-tools
43
GUI_CONFIGURE_WITH=	cairo gui gui-tools
41
GUI_INSTALL_TARGET=	install-strip install-icons install-ext-icons
44
GUI_INSTALL_TARGET=	install-icons install-ext-icons
42
GUI_INSTALL_TARGET_OFF=	install-strip
43
NLS_USES=		gettext
45
NLS_USES=		gettext
44
NLS_CONFIGURE_ENABLE=	nls
46
NLS_CONFIGURE_ENABLE=	nls
47
NLS_MAKE_ARGS_OFF=	POFILES=""
45
PGSQL_USES=		pgsql
48
PGSQL_USES=		pgsql
46
PGSQL_CONFIGURE_WITH=	libpq
49
PGSQL_CONFIGURE_WITH=	libpq
47
50
Lines 55-58 post-patch: Link Here
55
	@${REINPLACE_CMD} -e \
58
	@${REINPLACE_CMD} -e \
56
		's|: $$(INSTALL_DATA_HOOKS)|:|' ${WRKSRC}/Makefile.in
59
		's|: $$(INSTALL_DATA_HOOKS)|:|' ${WRKSRC}/Makefile.in
57
60
61
post-install:
62
	${INSTALL_DATA} ${WRKSRC}/pspp-mode.el \
63
		${STAGEDIR}${PREFIX}/share/emacs/site-lisp
64
.if ${PORT_OPTIONS:MGUI}
65
	${RM} -r ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/mimetypes
66
.endif
67
.if ${PORT_OPTIONS:MDOCS}
68
	(cd ${WRKSRC} && ${COPYTREE_SHARE} \
69
		"${PORTDOCS}" ${STAGEDIR}${DOCSDIR})
70
.endif
71
58
.include <bsd.port.mk>
72
.include <bsd.port.mk>
(-)math/pspp/pkg-plist (+1 lines)
Lines 17-22 man/man1/pspp-dump-sav.1.gz Link Here
17
%%GUI%%share/appdata/pspp.appdata.xml
17
%%GUI%%share/appdata/pspp.appdata.xml
18
%%GUI%%share/applications/pspp.desktop
18
%%GUI%%share/applications/pspp.desktop
19
%%PORTDOCS%%%%DOCSDIR%%/pspp.xml
19
%%PORTDOCS%%%%DOCSDIR%%/pspp.xml
20
share/emacs/site-lisp/pspp-mode.el
20
%%GUI%%share/glade3/catalogs/psppire.xml
21
%%GUI%%share/glade3/catalogs/psppire.xml
21
%%GUI%%share/glade3/pixmaps/16x16/psppire-acr.png
22
%%GUI%%share/glade3/pixmaps/16x16/psppire-acr.png
22
%%GUI%%share/glade3/pixmaps/16x16/psppire-dialog.png
23
%%GUI%%share/glade3/pixmaps/16x16/psppire-dialog.png

Return to bug 197786