blob: 921285646a15ed6dadaaf9b3f95c175137cad8df (
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
38
39
40
41
42
43
44
45
|
# New ports collection makefile for: esmska
# Date created: 18 Feb 2008
# Whom: Martin Otto
#
# $FreeBSD$
#
PORTNAME= esmska
PORTVERSION= 0.17.0
CATEGORIES= comms java
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
MAINTAINER= gamato@users.sf.net
COMMENT= Program for sending SMS over the Internet
RUN_DEPENDS= java:${PORTSDIR}/java/javavmwrapper
USE_JAVA= yes
JAVA_VERSION= 1.6+
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
NO_BUILD= yes
SUB_FILES= esmska
PORTDOCS= readme.txt
do-install:
@${MKDIR} ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/esmska.jar ${DATADIR}/
(cd ${WRKSRC}/ && ${COPYTREE_SHARE} icons ${DATADIR}/)
(cd ${WRKSRC}/ && ${COPYTREE_SHARE} lib ${DATADIR}/)
(cd ${WRKSRC}/ && ${COPYTREE_SHARE} license ${DATADIR}/)
(cd ${WRKSRC}/ && ${COPYTREE_SHARE} operators ${DATADIR}/)
${INSTALL_SCRIPT} ${WRKDIR}/esmska ${PREFIX}/bin/
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for i in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}/
.endfor
.endif
.include <bsd.port.mk>
|