mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-03 01:23:49 +00:00
b042dbd5c5
- Add 'devel' category - Use DATADIR=${JAVASHAREDIR}/${PORTNAME} - Use %%JAVAJARDIR%% and %%DATADIR%% in pkg-plist - CP -> INSTALL_DATA
35 lines
942 B
Makefile
35 lines
942 B
Makefile
# New ports collection makefile for: cos
|
|
# Date created: 1999/07/05
|
|
# Whom: Jose Marques <noway@nohow.demon.co.uk>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= cos
|
|
PORTVERSION= 2002.11.05
|
|
PORTEPOCH= 1
|
|
CATEGORIES= java devel
|
|
MASTER_SITES= http://www.servlets.com/cos/ \
|
|
http://www.oreilly.com.tw/bookcode/
|
|
DISTNAME= ${PORTNAME}-05Nov2002
|
|
|
|
MAINTAINER= java@FreeBSD.org
|
|
COMMENT= The O\'Reilly package of utility classes for servlet developers
|
|
|
|
USE_ZIP= yes
|
|
NO_WRKSUBDIR= yes
|
|
USE_JAVA= yes
|
|
NO_BUILD= yes
|
|
RESTRICTED= "Special conditions apply for commercial use, see licence"
|
|
DATAFILES= readme.txt license.txt doc
|
|
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
|
|
|
|
do-install:
|
|
@${INSTALL_DATA} ${WRKSRC}/lib/cos.jar ${JAVAJARDIR}/
|
|
@cd ${WRKSRC} \
|
|
&& ${FIND} ${DATAFILES} -type d -exec ${MKDIR} ${DATADIR}/{} \; \
|
|
&& ${FIND} ${DATAFILES} -type f -exec ${INSTALL_DATA} {} ${DATADIR}/{} \;
|
|
@${INSTALL_DATA} ${WRKSRC}/upload.war ${DATADIR}/doc
|
|
|
|
.include <bsd.port.mk>
|