blob: 32fcf257e57efcf4efe18725e85eee96f8bfacf0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
# ex:ts=8
# Ports collection makefile for: scribus
# Date created: Mar 15, 2002
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= scribus
PORTVERSION= 0.9.1
PORTREVISION= 0
CATEGORIES= print editors
MASTER_SITES= http://web2.altmuehlnet.de/fschmid/
DIST_SUBDIR= ${PORTNAME}
#PATCH_SITES= ${MASTER_SITES}
#PATCHFILES=
#PATCH_DIST_STRIP= -p1
MAINTAINER= freebsd-ports@freebsd.org
RUN_DEPENDS+= gs:${PORTSDIR}/print/ghostscript-gnu
BROKEN= "crashes on startup"
USE_QT_VER= 3
USE_REINPLACE= yes
GNU_CONFIGURE= yes
USE_GMAKE= yes
INSTALLS_SHLIB= yes
LDCONFIG_DIRS= %%PREFIX%%/share/scribus/libs \
%%PREFIX%%/share/scribus/plugins
QTCFGLIBS+= -lm
post-patch::
${FIND} ${WRKSRC} -type f \
|${XARGS} ${GREP} -l 'share/scribus/doc'\
|${XARGS} -n 1 ${REINPLACE_CMD} \
-e 's|share/scribus/doc|share/doc/scribus|'
.if defined(NOPORTDOCS)
post-patch::
${REINPLACE_CMD} -e "s|docs icons|icons|" \
${WRKSRC}/scribus/Makefile.in
.endif # defined(NOPORTDOCS)
#post-configure::
# ${FIND} ${WRKSRC} -name Makefile \
# |${XARGS} -n 1 ${REINPLACE_CMD} -e 's|-O2||g'
.include <bsd.port.mk>
|