aboutsummaryrefslogtreecommitdiff
path: root/french
diff options
context:
space:
mode:
Diffstat (limited to 'french')
-rw-r--r--french/jdictionary-fre-hun/Makefile26
-rw-r--r--french/jdictionary-fre-hun/pkg-plist2
2 files changed, 5 insertions, 23 deletions
diff --git a/french/jdictionary-fre-hun/Makefile b/french/jdictionary-fre-hun/Makefile
index 2f9347d28069..e6bc02fc0c24 100644
--- a/french/jdictionary-fre-hun/Makefile
+++ b/french/jdictionary-fre-hun/Makefile
@@ -6,29 +6,13 @@
#
PORTNAME= jdictionary-fre-hun
-PORTVERSION= 1.0
-PORTREVISION= 1
+PORTVERSION= 1.0
+PORTREVISION= 2
CATEGORIES= french hungarian textproc
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR=jdictionary
-DISTFILES= Smart_French_Hungarian-1_0.jar
+DISTNAME= Smart_French_Hungarian-1_0.jar
-MAINTAINER= janos.mohacsi@bsd.hu
COMMENT= JDictionary plugin: French-Hungarian dictionary
-RUN_DEPENDS= javavm:${PORTSDIR}/java/javavmwrapper \
- ${LOCALBASE}/etc/javavms:${PORTSDIR}/java/jdk13 \
- jdictionary:${PORTSDIR}/textproc/jdictionary
+MASTERDIR= ${.CURDIR}/../../textproc/jdictionary
-EXTRACT_CMD= ${CP}
-EXTRACT_BEFORE_ARGS=
-EXTRACT_AFTER_ARGS= ${WRKDIR}
-NO_BUILD=y
-
-do-install:
- @if [ ! -d ${PREFIX}/share/java/classes/jdictionary/Plugins ]; then \
- ${MKDIR} ${PREFIX}/share/java/classes/jdictionary/Plugins; fi
- ${CP} ${WRKDIR}/${DISTFILES} \
- ${PREFIX}/share/java/classes/jdictionary/Plugins/
-
-.include <bsd.port.mk>
+.include "${MASTERDIR}/Makefile.plugin"
diff --git a/french/jdictionary-fre-hun/pkg-plist b/french/jdictionary-fre-hun/pkg-plist
deleted file mode 100644
index e43e2798c49c..000000000000
--- a/french/jdictionary-fre-hun/pkg-plist
+++ /dev/null
@@ -1,2 +0,0 @@
-share/java/classes/jdictionary/Plugins/Smart_French_Hungarian-1_0.jar
-@unexec rmdir %D/share/java/classes/jdictionary/Plugins || true