d7f69e47ce
have it be automatically included by bsd.pkg.mk if USE_PKGINSTALL is set to "YES". This enforces the requirement that bsd.pkg.install.mk be included at the end of a package Makefile. Idea suggested by Julio M. Merino Vidal <jmmv at menta.net>.
34 lines
886 B
Makefile
34 lines
886 B
Makefile
# $NetBSD: Makefile,v 1.6 2003/01/28 22:04:23 jlam Exp $
|
|
#
|
|
|
|
DISTNAME= pwm-1.0
|
|
CATEGORIES= wm x11
|
|
MASTER_SITES= http://www.students.tut.fi/~tuomov/dl/
|
|
|
|
MAINTAINER= packages@netbsd.org
|
|
HOMEPAGE= http://www.students.tut.fi/~tuomov/pwm/
|
|
COMMENT= Window manager that frames multiple client windows in a single frame
|
|
|
|
USE_BUILDLINK2= YES
|
|
USE_PKGINSTALL= YES
|
|
USE_X11= YES
|
|
USE_GMAKE= YES
|
|
MAKE_ENV+= SYSCONFDIR="${PKG_SYSCONFDIR}"
|
|
|
|
PKG_SYSCONFSUBDIR= pwm
|
|
EGDIR= ${PREFIX}/share/examples/pwm
|
|
CONF_FILES= ${EGDIR}/pwm.conf ${PKG_SYSCONFDIR}/pwm.conf
|
|
SUPPS= buttons-default.conf
|
|
SUPPS+= keys-default.conf
|
|
SUPPS+= menus-default.conf
|
|
SUPPS+= look-beoslike.conf
|
|
SUPPS+= look-brownsteel.conf
|
|
SUPPORT_FILES= # empty
|
|
.for FILE in ${SUPPS}
|
|
SUPPORT_FILES+= ${EGDIR}/${FILE} ${PKG_SYSCONFDIR}/${FILE}
|
|
.endfor
|
|
|
|
post-install:
|
|
${RM} -f ${EGDIR}/sample.conf
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|