mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-29 21:39:24 +00:00
5cc2d360c5
- update port to version 1.18 - add NOPORTDOCS support to PLIST - be more minimalistic about patching, move some of the responsability to CONFIGURE_ARGS Submitted by: Patrick Li <pat@databits.net>
36 lines
778 B
Makefile
36 lines
778 B
Makefile
# New ports collection makefile for: wmbattery
|
|
# Date created: 18 Sep 1999
|
|
# Whom: Will Andrews <andrews@technologist.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= wmbattery
|
|
PORTVERSION= 1.18
|
|
CATEGORIES= sysutils windowmaker
|
|
MASTER_SITES= http://kitenet.net/programs/code/wmbattery/
|
|
DISTNAME= ${PORTNAME}_${PORTVERSION}
|
|
|
|
MAINTAINER= pat@databits.net
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
USE_X_PREFIX= yes
|
|
USE_XPM= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --x-libraries=${X11BASE}/lib \
|
|
--x-includes=${X11BASE}/include
|
|
|
|
MAN1= wmbattery.1
|
|
|
|
post-install:
|
|
@${INSTALL} -d -o ${SHAREOWN} -g ${SHAREGRP} -m 555 \
|
|
${PREFIX}/share/doc/${PORTNAME}
|
|
.if !defined(NOPORTDOCS)
|
|
.for i in README TODO
|
|
@${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/share/doc/${PORTNAME}
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|