freebsd-ports/textproc/jdictionary/Makefile.plugin
Herve Quiroz 3e21b3c022 - Use bsd.java.mk
- Use SUB_LIST to transform the launcher shell script
- Use DATADIR=${JAVASHAREDIR}/${PORTNAME} as encouraged in the Porter's
  handbook for Java application ports.
- Add $FreeBSD$ tags where missing
- Use INSTALL_DATA to install JAR file
- Minor cosmetic improvements
- Bump PORTREVISION as the location of files has changed
- Add support for plugin ports (this port will act as the MASTERDIR for plugin
  ports that will include Makefile.plugin)

Reviewed by:	glewis
Approved by:	maintainer
2004-12-19 03:34:56 +00:00

38 lines
906 B
Makefile

# New ports collection makefile for: jdictionary (plugins)
# Date created: 15.12.2004
# Whom: hq@FreeBSD.org
#
# $FreeBSD$
#
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= jdictionary
EXTRACT_SUFX= #
MAINTAINER?= janos.mohacsi@bsd.hu
COMMENT?= JDictionary plugin master port
RUN_DEPENDS+= jdictionary:${PORTSDIR}/textproc/jdictionary
# WARNING: USE_JAVA is set to be able to use JAVASHAREDIR.
# Please make sure that JAVA_VERSION here is the same as in Makefile.
USE_JAVA= yes
JAVA_VERSION= 1.3+
EXTRACT_CMD= ${CP}
EXTRACT_BEFORE_ARGS= #
EXTRACT_AFTER_ARGS= ${WRKDIR}
NO_BUILD= yes
DATADIR= ${JAVASHAREDIR}/jdictionary/Plugins
PLIST= ${MASTERDIR}/pkg-plist.plugin
MD5_FILE= ${.CURDIR}/distinfo
DESCR= ${.CURDIR}/pkg-descr
PLIST_SUB+= DISTNAME=${DISTNAME}
do-install:
${MKDIR} ${DATADIR}
${INSTALL_DATA} ${WRKDIR}/${DISTNAME} ${DATADIR}/
.include <bsd.port.mk>