freebsd-ports/sysutils/wmcube/Makefile

44 lines
1.2 KiB
Makefile
Raw Normal View History

# Created by: Patrick Li <pat@databits.net>
# $FreeBSD$
PORTNAME= wmcube
PORTVERSION= 0.98
PORTREVISION= 3
CATEGORIES= sysutils windowmaker
MASTER_SITES= ${MASTER_SITE_TUCOWS} \
http://dockapps.org/download.php/id/222/ \
http://freebsd.unixfreunde.de/sources/
MASTER_SITE_SUBDIR= x11/dock
MAINTAINER= garga@FreeBSD.org
COMMENT= Window Maker dockapp that displays cpu load and a realtime 3D object
2013-11-01 00:45:23 +01:00
LICENSE= GPLv2
OPTIONS_DEFINE= DOCS
WRKSRC= ${WRKDIR}/${PORTNAME}/${PORTNAME}
USE_XORG= xpm
MAKEFILE= Makefile.FREEBSD
PORTDOCS= CHANGES README TODO
SUB_FILES= pkg-message
2011-07-27 00:12:14 +02:00
USE_CSTD= gnu89
MAKE_JOBS_UNSAFE= yes
2013-10-25 01:06:41 +02:00
NEED_ROOT= yes
do-install:
2013-10-25 01:06:41 +02:00
${INSTALL_PROGRAM} -m 2755 -o root -g kmem ${WRKSRC}/wmcube ${STAGEDIR}${PREFIX}/bin
.for file in *.wmc
2013-10-25 01:06:41 +02:00
@${ECHO} "===> Installing extra 3d objects in ${STAGEDIR}${PREFIX}/share/${PORTNAME}"
@${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKDIR}/${PORTNAME}/3dObjects/${file} ${STAGEDIR}${DATADIR}
.endfor
2013-10-25 01:06:41 +02:00
@${ECHO} "===> Installing README in ${STAGEDIR}${PREFIX}/share/doc/${PORTNAME}"
@${ECHO} "===> Please Read pkg-descr and README for usage information"
2013-10-25 01:06:41 +02:00
@${MKDIR} ${STAGEDIR}${DOCSDIR}
2013-11-01 00:45:23 +01:00
.for f in ${PORTDOCS}
2013-10-25 01:06:41 +02:00
${INSTALL_DATA} ${WRKSRC}/../${f} ${STAGEDIR}${DOCSDIR}
2013-11-01 00:45:23 +01:00
.endfor
2013-11-01 00:45:23 +01:00
.include <bsd.port.mk>