1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/x11-wm/pawm/Makefile
2004-02-04 05:10:27 +00:00

59 lines
1.4 KiB
Makefile

# New ports collection makefile for: pawm
# Date created: 2002-08-22
# Whom: trevor
#
# $FreeBSD$
#
PORTNAME= pawm
PORTVERSION= 1.9.4
PORTREVISION= 1
CATEGORIES= x11-wm
MASTER_SITES= http://www.pleyades.net/pawm/files/
MAINTAINER= trevor@FreeBSD.org
COMMENT= The Puto Amo Window Manager
BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash2
DOCS= AUTHORS Changelog GPL INSTALL README THANKS
PLIST= ${WRKDIR}/pkg-plist
USE_BZIP2= yes
USE_GMAKE= yes
USE_X_PREFIX= yes
do-configure:
cd ${WRKSRC} && \
bash ./0 --prefix=${PREFIX} --datadir=${PREFIX}/share/pawm
pre-install:
${ECHO_CMD} bin/pawm > ${PLIST}
${ECHO_CMD} etc/pawm.conf >> ${PLIST}
for ii in `${LS} ${WRKSRC}/data/icons`; do \
${ECHO_CMD} share/pawm/icons/$$ii >> ${PLIST}; \
done
${ECHO_CMD} @dirrm share/pawm/icons >> ${PLIST}
${ECHO_CMD} @dirrm share/pawm >> ${PLIST}
.if !defined(NOPORTDOCS)
.for ii in ${DOCS}
${ECHO_CMD} share/doc/pawm/${ii} >> ${PLIST}
.endfor
${ECHO_CMD} @dirrm share/doc/pawm >> ${PLIST}
.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bin/pawm ${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/conf/pawm.conf ${PREFIX}/etc/
${MKDIR} ${PREFIX}/share/pawm/icons
for ii in `${LS} ${WRKSRC}/data/icons/*`; do \
${INSTALL_DATA} $$ii ${PREFIX}/share/pawm/icons ; \
done
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
.for ii in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/${ii} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>