aboutsummaryrefslogblamecommitdiff
path: root/www/dojo-shrinksafe/Makefile
blob: e8dbd5fbece74fcbdd7b5fdebfa2e8534bc0e88e (plain) (tree)
1
2
3
4
5
6
7
8
9
                                               
           

                                  
                             
                         

                                                                                 
                                     


                                                                          
                                         
                                                  

                   

                   

                                                                            




                                           



                                                                                         


                           
# Created by: Greg Larkin <glarkin@FreeBSD.org>
# $FreeBSD$

PORTNAME=		shrinksafe
PORTVERSION=		1.9.0
PORTREVISION=		1
CATEGORIES=		www java
MASTER_SITES=		http://download.dojotoolkit.org/release-${PORTVERSION}/ \
			LOCAL/glarkin
PKGNAMEPREFIX=		dojo-
DISTNAME=		${PKGNAMEPREFIX}release-${PORTVERSION}-${PORTNAME}

MAINTAINER=		ports@FreeBSD.org
COMMENT=		JavaScript code compressor

USE_JAVA=	yes
NO_BUILD=	yes

PLIST_FILES=	bin/${PKGNAMEPREFIX}${PORTNAME} %%DATADIR%%/shrinksafe.jar \
		%%DATADIR%%/js.jar
SUB_FILES=	${PKGNAMEPREFIX}${PORTNAME}

.include <bsd.port.pre.mk>

do-install:
	@${INSTALL} -d ${STAGEDIR}${DATADIR}
	@${INSTALL_DATA} ${WRKSRC}/shrinksafe.jar ${STAGEDIR}${DATADIR}
	@${INSTALL_DATA} ${WRKSRC}/js.jar ${STAGEDIR}${DATADIR}
	@${INSTALL_SCRIPT} ${WRKDIR}/${PKGNAMEPREFIX}${PORTNAME} ${STAGEDIR}${PREFIX}/bin
	@${CAT} pkg-message

.include <bsd.port.post.mk>