mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-12 03:00:28 +00:00
574972e972
PR: 27814 Submitted by: Ernst de Haan <ernst@jollem.com>
31 lines
675 B
Makefile
31 lines
675 B
Makefile
# New ports collection makefile for: JDOM
|
|
# Date created: June 1, 2001
|
|
# Whom: Ernst de Haan <ernst@jollem.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= jdom
|
|
PORTVERSION= 1.0b6
|
|
CATEGORIES= java
|
|
MASTER_SITES= http://www.jdom.org/dist/binary/
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION:C/[0-9]*\.[0-9]*//}
|
|
|
|
MAINTAINER= ernst@jollem.com
|
|
|
|
PLIST_SUB+= TARGET_PREFIX=${TARGET_DIR:S/^${PREFIX}\///}
|
|
PLIST_SUB+= PREFIX=${PREFIX}
|
|
TARGET_DIR?= ${PREFIX}/share/java/${PORTNAME}-${PORTVERSION}
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:C/[0-9]*\.[0-9]*//}
|
|
|
|
NO_BUILD= yes
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
do-install:
|
|
${MKDIR} ${TARGET_DIR}
|
|
${CP} -r ${WRKSRC}/* ${TARGET_DIR}
|
|
|
|
.include <bsd.port.post.mk>
|