summaryrefslogtreecommitdiff
path: root/devel/libmatthew/Makefile
blob: 59e8e111494f7bdc161207ca46b1adaaaef2a9b3 (plain)
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
PORTNAME=	libmatthew
DISTVERSION=	0.8.1
PORTREVISION=	1
CATEGORIES=	devel java
MASTER_SITES=	http://www.matthew.ath.cx/projects/java/
DISTNAME=	${PORTNAME}-java-${DISTVERSION}

MAINTAINER=	0mp@FreeBSD.org
COMMENT=	Selection of Java libraries by Matthew Johnson

LICENSE=	EXPAT
LICENSE_NAME=	Expat License
LICENSE_FILE=	${WRKSRC}/COPYING
LICENSE_PERMS=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept

USES=		gmake localbase:ldconfig
USE_JAVA=	yes
USE_LDCONFIG=	yes

MAKE_ENV=	JARDIR=${JAVAJARDIR} \
		JAVA_HOME=${JAVA_HOME} \
		LDSHAREFLAGS='-fpic -shared' \
		LIBDIR=${PREFIX}/lib

post-install:
	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*-java.so

.include <bsd.port.mk>