1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/comms/esmska/Makefile
Adam Weinberger fbd9122a40 Convert comms to MDOCS and MEXAMPLES.
Hold-out shame list: perl
2014-01-03 16:06:00 +00:00

46 lines
977 B
Makefile

# Created by: Martin Otto
# $FreeBSD$
PORTNAME= esmska
PORTVERSION= 0.21
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
NO_STAGE= yes
.include <bsd.port.options.mk>
do-install:
@${MKDIR} ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/esmska.jar ${DATADIR}/
(cd ${WRKSRC}/ && ${COPYTREE_SHARE} gateways ${DATADIR}/)
(cd ${WRKSRC}/ && ${COPYTREE_SHARE} icons ${DATADIR}/)
(cd ${WRKSRC}/ && ${COPYTREE_SHARE} lib ${DATADIR}/)
(cd ${WRKSRC}/ && ${COPYTREE_SHARE} license ${DATADIR}/)
${INSTALL_SCRIPT} ${WRKDIR}/esmska ${PREFIX}/bin/
post-install:
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
.for i in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}/
.endfor
.endif
.include <bsd.port.mk>