blob: 700e728b8e1ac827f826972c50b3447b31aa4f92 (
plain) (
blame)
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
29
30
31
32
33
34
35
36
37
|
# New ports collection makefile for: eclipse-pmd
# Date created: October 3, 2003
# Whom: Bruno Van Den Bossche <bruno.van.den.bossche@pandora.be>
#
# $FreeBSD$
#
PORTNAME= eclipse-pmd
PORTVERSION= 1.1.2
CATEGORIES= java devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= pmd
DISTNAME= pmd-eclipse-bin-${PORTVERSION}
DIST_SUBDIR= eclipse
MAINTAINER= ports@FreeBSD.org
COMMENT= Scan Java source code and look for potential problems
NO_BUILD= yes
NO_WRKSUBDIR= yes
USE_ZIP= yes
CPIO?= cpio --quiet -pdmu -R
PLUGIN_DIR= "net.sourceforge.pmd.eclipse_${PORTVERSION}"
PLIST_SUB+= PLUGIN_DIR="${PLUGIN_DIR}"
do-install:
@${MKDIR} ${PREFIX}/eclipse
@${MKDIR} ${PREFIX}/eclipse/plugins
@${MKDIR} ${PREFIX}/eclipse/plugins/${PLUGIN_DIR}
cd ${WRKSRC}/${PLUGIN_DIR} && ${FIND} . \
| ${CPIO} ${SHAREOWN}:${SHAREGRP} \
${PREFIX}/eclipse/plugins/${PLUGIN_DIR}
.include <bsd.port.mk>
|