2002-03-20 20:25:45 +01:00
|
|
|
# New ports collection makefile for: blwm
|
|
|
|
# Date created: 2002-03-15
|
|
|
|
# Whom: trevor
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= blwm
|
2002-05-26 12:00:06 +02:00
|
|
|
PORTVERSION= 1.0.4
|
2010-03-28 08:47:48 +02:00
|
|
|
PORTREVISION= 5
|
2003-03-01 16:25:36 +01:00
|
|
|
CATEGORIES= x11-wm portuguese
|
2003-10-04 18:27:26 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_LOCAL}
|
2009-03-24 21:54:16 +01:00
|
|
|
MASTER_SITE_SUBDIR= arved
|
2002-03-20 20:25:45 +01:00
|
|
|
|
2006-02-11 22:03:14 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-03-01 15:34:33 +01:00
|
|
|
COMMENT= Portuguese derivative of qvwm, simplified to conserve resources
|
2002-03-20 20:25:45 +01:00
|
|
|
|
|
|
|
RUN_DEPENDS= xsetbg:${PORTSDIR}/x11/xloadimage
|
|
|
|
|
|
|
|
MAN1= blwm.1x
|
|
|
|
PLIST= ${WRKDIR}/pkg-plist
|
|
|
|
USE_GMAKE= yes
|
2007-05-19 22:36:56 +02:00
|
|
|
MAKEFILE= Makefile.std
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
USE_XORG= x11 ice sm xext xpm
|
2002-05-26 12:00:06 +02:00
|
|
|
DOCS= AUTHORS BUGS COPYING CREDITS FreeBSD INSTALAR LEIAME TODO
|
|
|
|
|
2007-05-19 22:36:56 +02:00
|
|
|
post-patch:
|
2009-03-24 21:54:16 +01:00
|
|
|
${REINPLACE_CMD} -e "s:wmsetbg:xsetbg:g ; \
|
2002-03-20 20:25:45 +01:00
|
|
|
s:/usr/local/lib/blwm:${PREFIX}/lib/blwm:g" \
|
|
|
|
${WRKSRC}/rc/*
|
2009-03-24 21:54:16 +01:00
|
|
|
${REINPLACE_CMD} -e "s,^MAKE,#MAKE," ${WRKSRC}/Makefile.std
|
2002-03-20 20:25:45 +01:00
|
|
|
|
|
|
|
pre-install:
|
|
|
|
${ECHO_CMD} bin/blwm > ${PLIST}
|
|
|
|
.if !defined(NOPORTDOCS)
|
2002-05-26 12:00:06 +02:00
|
|
|
.for ii in ${DOCS} ChangeLog INSTALL README
|
|
|
|
${ECHO_CMD} share/doc/blwm/${ii} >> ${PLIST}
|
2002-03-20 20:25:45 +01:00
|
|
|
.endfor
|
|
|
|
${ECHO_CMD} @dirrm share/doc/blwm >> ${PLIST}
|
|
|
|
.endif
|
2002-05-26 12:00:06 +02:00
|
|
|
for ii in `${LS} ${WRKSRC}/images | ${GREP} xpm`; do \
|
|
|
|
${ECHO_CMD} lib/blwm/images/$$ii >> ${PLIST}; \
|
2002-03-20 20:25:45 +01:00
|
|
|
done
|
2002-05-26 12:00:06 +02:00
|
|
|
for ii in `${LS} ${WRKSRC}/themes | ${GREP} -v Makefile`; do \
|
|
|
|
${ECHO_CMD} lib/blwm/themes/$$ii >> ${PLIST}; \
|
2002-03-20 20:25:45 +01:00
|
|
|
done
|
2002-05-26 12:00:06 +02:00
|
|
|
for ii in `${LS} ${WRKSRC}/rc | ${GREP} -v Makefile`; do \
|
|
|
|
${ECHO_CMD} lib/blwm/conf/$$ii >> ${PLIST}; \
|
2002-03-20 20:25:45 +01:00
|
|
|
done
|
2002-09-15 17:53:07 +02:00
|
|
|
.for ii in /conf /images /themes /
|
|
|
|
${ECHO_CMD} @dirrm lib/blwm${ii} >> ${PLIST}
|
2002-03-20 20:25:45 +01:00
|
|
|
.endfor
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/blwm ${PREFIX}/bin
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${DOCSDIR}
|
2002-05-26 12:00:06 +02:00
|
|
|
.for ii in ${DOCS}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/${ii} ${DOCSDIR}
|
|
|
|
.endfor
|
|
|
|
.for ii in ChangeLog INSTALL README
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${ii} ${DOCSDIR}
|
2002-03-20 20:25:45 +01:00
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
${MKDIR} ${PREFIX}/lib/blwm/conf \
|
|
|
|
${PREFIX}/lib/blwm/images \
|
|
|
|
${PREFIX}/lib/blwm/themes
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/images/*xpm ${PREFIX}/lib/blwm/images
|
|
|
|
for i in `${LS} ${WRKSRC}/rc/* | ${GREP} -v Makefile`; do \
|
|
|
|
${INSTALL_DATA} $$i ${PREFIX}/lib/blwm/conf ; \
|
|
|
|
done
|
|
|
|
for i in `${LS} ${WRKSRC}/themes/* | ${GREP} -v Makefile`; do \
|
|
|
|
${INSTALL_DATA} $$i ${PREFIX}/lib/blwm/themes ; \
|
|
|
|
done
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/man/blwm.1x ${MANPREFIX}/man/man1/
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|