pkgsrc-wip/jad/Makefile
Thomas Klausner ad6cb11b6d "wip" is not a valid category -- please use the standard pkgsrc ones.
Remove wip from CATEGORIES, and guess category if wip was the only one
specified.
2005-11-02 17:59:54 +00:00

44 lines
1 KiB
Makefile

# $NetBSD: Makefile,v 1.5 2005/11/02 18:00:17 thomasklausner Exp $
#
DISTNAME= jadlx158
PKGNAME= jad-1.5.8
CATEGORIES= lang
MASTER_SITES= http://www.kpdus.com/jad/${JAD_OSDIR}
EXTRACT_SUFX= .zip
JAD_OSDIR= linux # Default one
MAINTAINER= pancake@phreaker.net
HOMEPAGE= http://www.kpdus.com/jad.html
COMMENT= The fast Java Decompiler
WRKSRC= ${WRKDIR}
LICENSE=no-commercial-use
NO_BUILD=YES
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "FreeBSD"
DISTNAME=jadfb158
JAD_OSDIR=freebsd/
DISTINFO_FILE=${PKGDIR}/distinfo.FreeBSD
PLIST_SRC=${PKGDIR}/PLIST.FreeBSD
.endif
.if ${OPSYS} == "OpenBSD"
DISTNAME=jadob158
JAD_OSDIR=openbsd/
DISTINFO_FILE=${PKGDIR}/distinfo.OpenBSD
PLIST_SRC=${PKGDIR}/PLIST.FreeBSD
.endif
# TODO add support for the rest of supported archs
ONLY_FOR_PLATFORM=Linux-*-i386 FreeBSD-*-i386 OpenBSD-2.*-i386
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/jad ${PREFIX}/bin/jad
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/jad/
${INSTALL_DATA} ${WRKSRC}/?eadme.txt ${PREFIX}/share/doc/jad/
.include "../../mk/bsd.pkg.mk"