aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2012-10-09 15:26:58 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2012-10-09 15:26:58 +0000
commit60e7d9b1c5c332fef23c6600fa887f4b2e28c6e8 (patch)
treed21c22df68571ad16b192d98d10dbb650ca08829
parent72a15a01b81aa4bc1b2572a6f70646f0ad75d940 (diff)
downloadports-60e7d9b1c5c332fef23c6600fa887f4b2e28c6e8.tar.gz
ports-60e7d9b1c5c332fef23c6600fa887f4b2e28c6e8.zip
Notes
-rw-r--r--astro/josm/Makefile25
-rw-r--r--astro/josm/distinfo4
2 files changed, 5 insertions, 24 deletions
diff --git a/astro/josm/Makefile b/astro/josm/Makefile
index 0d309c0a3d9d..0c07fa12e00f 100644
--- a/astro/josm/Makefile
+++ b/astro/josm/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= josm
-PORTVERSION= 5485
+PORTVERSION= 5531
CATEGORIES= astro java
MASTER_SITES= http://josm.openstreetmap.de/download/:josm \
http://mirror.amdmi3.ru/distfiles/:josm \
@@ -25,6 +25,8 @@ JAVA_VERSION= 1.5+
JOSM_MEMORY_LIMIT?=1024
+NO_BUILD= yes
+
SUB_FILES= josm.sh
SUB_LIST= JARNAME=${DISTNAME} JOSM_MEMORY_LIMIT=${JOSM_MEMORY_LIMIT}
@@ -33,31 +35,10 @@ WEBKITIMG_SRC= ${WEBKITIMG}.cpp
PLIST_FILES= bin/josm ${JAVAJARDIR:C,${PREFIX}/?,,}/${DISTNAME}
-OPTIONS= WEBKIT_IMAGE "Build webkit-image (needed for Yahoo imagery)" off
-
-.include <bsd.port.options.mk>
-
pre-everything::
@${ECHO_CMD} "You can change limit of memory available to josm by defining"
@${ECHO_CMD} "JOSM_MEMORY_LIMIT variable in /etc/make.conf. Default is 1024 (MB)."
-.if defined(WITH_WEBKIT_IMAGE)
-PLIST_FILES+= bin/webkit-image
-
-USE_QT4= corelib gui webkit moc_build
-
-do-build:
- cd ${WRKSRC} && \
- ${MOC} ${DISTDIR}/${WEBKITIMG_SRC} > ${WEBKITIMG}.h && \
- ${CXX} ${CFLAGS} ${PTHREAD_LIBS} -I. -I${QT_INCDIR} -L${QT_LIBDIR} \
- ${DISTDIR}/${WEBKITIMG_SRC} -o ${WEBKITIMG} -lQtCore -lQtWebKit \
- -lQtGui
-.else
-# setting NO_BUILD here won't work
-do-build:
- @${DO_NADA}
-.endif
-
do-install:
${MKDIR} ${JAVAJARDIR}/
${INSTALL_DATA} ${DISTDIR}/${DISTNAME} ${JAVAJARDIR}/
diff --git a/astro/josm/distinfo b/astro/josm/distinfo
index 2c0acb7e5f4e..1824919fef21 100644
--- a/astro/josm/distinfo
+++ b/astro/josm/distinfo
@@ -1,4 +1,4 @@
-SHA256 (josm-snapshot-5485.jar) = c392040d84539e68add3ecf60fb886cfb6fa5f36c125329ec5f55c92397d4bc2
-SIZE (josm-snapshot-5485.jar) = 7530751
+SHA256 (josm-snapshot-5531.jar) = 7e10272416903a0cc70249769f876e19a68bce346c69d587a9cf512c6fa67035
+SIZE (josm-snapshot-5531.jar) = 7578075
SHA256 (webkit-image.cpp) = 431f5b956c0e3d1615289dd6cb64effb988b30ace7c80f5a51f9546aa80d300d
SIZE (webkit-image.cpp) = 2718