aboutsummaryrefslogtreecommitdiffstats
path: root/print/scribus
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2005-12-27 23:04:09 +0800
committerehaupt <ehaupt@FreeBSD.org>2005-12-27 23:04:09 +0800
commit7ae624755f1424ed689c41ee4bed76502375ca19 (patch)
tree2fc19a9ea24cc41d9cd950d62e0ca3f5ce79c693 /print/scribus
parentdc3ae9b2f6509b0cb6a1851dbbfc55405e112b93 (diff)
downloadfreebsd-ports-gnome-7ae624755f1424ed689c41ee4bed76502375ca19.tar.gz
freebsd-ports-gnome-7ae624755f1424ed689c41ee4bed76502375ca19.tar.zst
freebsd-ports-gnome-7ae624755f1424ed689c41ee4bed76502375ca19.zip
The substitution command s|2\.3|${PYTHON_VERSION:S/^python//}|g in
print/scribus/Makefile is too liberal, substituting part of the Scribus version (1.2.3) for the Python version (2.4), among other things. Also bump PORTREVISION. PR: 90974 Submitted by: Aron Stansvik <elvstone@gmail.com>
Diffstat (limited to 'print/scribus')
-rw-r--r--print/scribus/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/print/scribus/Makefile b/print/scribus/Makefile
index 0fa3b9779611..8d79fc6f4af2 100644
--- a/print/scribus/Makefile
+++ b/print/scribus/Makefile
@@ -8,6 +8,7 @@
PORTNAME= scribus
PORTVERSION= 1.2.3
+PORTREVISION= 1
CATEGORIES= print editors
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
http://www.scribus.org.uk/downloads/${PORTVERSION}/
@@ -51,10 +52,11 @@ pre-everything::
post-patch:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g; \
- s|-O2 ||g ; \
- s|="-lc"|=""|g ; \
- s|2\.3|${PYTHON_VERSION:S/^python//}|g ; \
- s|python2_3|${PYTHON_VERSION:S/./_/}|g' ${WRKSRC}/configure
+ s|-O2 ||g ; \
+ s|="-lc"|=""|g ; \
+ s|python2\.3|python${PYTHON_VERSION:S/^python//}|g ; \
+ s|Python 2\.3|Python ${PYTHON_VERSION:S/^python//}|g ; \
+ s|python2_3|${PYTHON_VERSION:S/./_/}|g' ${WRKSRC}/configure
@${REINPLACE_CMD} -e '/\/share\/pixmaps\//s|^|#|g' \
${WRKSRC}/scribus/icons/Makefile.in