pkgsrc-wip/apache-commons-codec/Makefile
Aleksej Saushev dfd2040d5f Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.
Mark packages that don't and might probably not have staged installation.
2012-09-24 16:56:26 +00:00

32 lines
868 B
Makefile

# $NetBSD: Makefile,v 1.3 2012/09/24 16:56:37 asau Exp $
#
DISTNAME= commons-codec-1.4-bin
PKGNAME= apache-${DISTNAME:S/-bin//}
CATEGORIES= devel java
MASTER_SITES= http://apache.multihomed.net//commons/codec/binaries/
MAINTAINER= pgksrc-users@NetBSD.org
HOMEPAGE= http://commons.apache.org/codec/
COMMENT= Encoder and decoders such as Base64 and hexadecimal codec
LICENSE= apache-2.0
WRKSRC= ${WRKDIR}/commons-codec-1.4
NO_BUILD= yes
USE_TOOLS+= pax
USE_LANGUAGES= # none
USE_JAVA= yes
PKG_JVMS_ACCEPTED= sun-jdk6 sun-jdk15 sun-jdk14
INSTALLATION_DIRS= lib/java share/doc/apache-commons-codec
do-install:
${INSTALL_DATA} ${WRKSRC}/commons-codec-1.4.jar \
${DESTDIR}${PREFIX}/lib/java/commons-codec.jar
cd ${WRKSRC}/apidocs && pax -rw -pp . ${DESTDIR}${PREFIX}/share/doc/apache-commons-codec
.include "../../mk/java-vm.mk"
.include "../../mk/bsd.pkg.mk"