mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-07 06:40:06 +00:00
77a138bfee
2. Got it to build (ohh, the pain). 3. Give up maintainership because I don't have time to fight with it.
53 lines
1.1 KiB
Makefile
53 lines
1.1 KiB
Makefile
# 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>
|