blob: 0355c6c99b3ab9a7d1480f7c479af86f6548e315 (
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
|
PORTNAME= csso
PORTVERSION= 1.3.9
DISTVERSIONPREFIX= v
PORTREVISION= 5
CATEGORIES= www
MASTER_SITES= http://nivit.altervista.org/FreeBSD/ports/distfiles/
MAINTAINER= nivit@FreeBSD.org
COMMENT= CSS optimizer
WWW= https://github.com/css/csso/
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/MIT-LICENSE.txt
USES= nodejs:run
USE_GITHUB= yes
GH_ACCOUNT= css
NO_ARCH= yes
NO_BUILD= yes
do-install:
@${MKDIR} ${STAGEDIR}${DATADIR}/bin
${INSTALL_DATA} ${WRKSRC}/USAGE ${WRKSRC}/VERSION ${STAGEDIR}${DATADIR}/
${INSTALL_SCRIPT} ${WRKSRC}/bin/${PORTNAME} ${STAGEDIR}${DATADIR}/bin/${PORTNAME}
${LN} -sf ${DATADIR}/bin/${PORTNAME} ${STAGEDIR}/${PREFIX}/bin/${PORTNAME}
cd ${WRKSRC}/lib && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/lib
.include <bsd.port.mk>
|