2013-03-11 07:02:49 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.22 2013/03/11 11:07:42 espie Exp $
|
2009-04-26 05:38:25 -04:00
|
|
|
|
2007-09-15 17:02:37 -04:00
|
|
|
COMMENT= Java interface to GeoIP database
|
2006-11-17 14:20:34 -05:00
|
|
|
DISTNAME= jeoip-0.5
|
2013-03-02 07:45:19 -05:00
|
|
|
REVISION= 11
|
2006-11-17 14:20:34 -05:00
|
|
|
CATEGORIES= geo net
|
|
|
|
PKG_ARCH= *
|
|
|
|
|
|
|
|
HOMEPAGE= http://www.darwinsys.com/freeware/jeoip.jsp
|
|
|
|
|
|
|
|
MAINTAINER= Ian Darwin <ian@openbsd.org>
|
|
|
|
|
|
|
|
# BSD
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
|
|
|
|
MASTER_SITES= http://www.darwinsys.com/freeware/
|
|
|
|
|
|
|
|
MODULES= java
|
2013-03-02 07:45:19 -05:00
|
|
|
MODJAVA_VER= 1.6+
|
2006-11-17 14:20:34 -05:00
|
|
|
MODJAVA_JRERUN= Yes
|
2011-09-01 13:24:31 -04:00
|
|
|
MODJAVA_BUILD= ant
|
|
|
|
MODJAVA_BUILD_TARGET= jar docs
|
|
|
|
|
2011-09-06 12:59:13 -04:00
|
|
|
BUILD_DEPENDS= java/junit
|
2013-03-11 07:02:49 -04:00
|
|
|
TEST_DEPENDS= net/GeoIP \
|
2011-09-06 12:59:13 -04:00
|
|
|
java/junit
|
2010-11-17 03:05:12 -05:00
|
|
|
RUN_DEPENDS= net/GeoIP\
|
|
|
|
java/javaPathHelper
|
2011-12-15 16:33:19 -05:00
|
|
|
MAKE_ENV= CLASSPATH=${LOCALBASE}/share/java/classes/junit/junit.jar
|
2006-11-17 14:20:34 -05:00
|
|
|
|
|
|
|
WRKDIST= ${WRKDIR}/jeoip
|
|
|
|
|
|
|
|
do-install:
|
2011-09-01 13:24:31 -04:00
|
|
|
${INSTALL_DATA_DIR} ${MODJAVA_JAR_DIR}
|
|
|
|
${INSTALL_DATA} ${WRKDIST}/jeoip.jar ${MODJAVA_JAR_DIR}
|
2006-11-17 14:20:34 -05:00
|
|
|
${INSTALL_SCRIPT} ${WRKDIST}/unix/jeoip ${PREFIX}/bin
|
|
|
|
|
2013-03-11 07:02:49 -04:00
|
|
|
do-test:
|
2006-12-16 16:16:21 -05:00
|
|
|
@cd ${WRKBUILD} && ${SETENV} ${MAKE_ENV} ant regress
|
|
|
|
|
2006-11-17 14:20:34 -05:00
|
|
|
.include <bsd.port.mk>
|