openbsd-ports/x11/scrotwm/Makefile

49 lines
1.3 KiB
Makefile
Raw Normal View History

2011-01-18 17:56:00 -05:00
# $OpenBSD: Makefile,v 1.26 2011/01/18 22:56:00 marco Exp $
COMMENT= small tiling window manager
SHARED_LIBS= swmhack 0.0
2011-01-18 17:56:00 -05:00
DISTNAME= scrotwm-0.9.28
EXTRACT_SUFX= .tgz
CATEGORIES= x11
HOMEPAGE= http://www.scrotwm.org/
2009-10-21 08:37:31 -04:00
MAINTAINER= Marco Peereboom <marco@peereboom.us>
# BSD
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2010-09-02 04:18:11 -04:00
MASTER_SITES= http://opensource.conformal.com/snapshots/scrotwm/
NO_REGRESS= Yes
WANTLIB= c X11 Xrandr util
2010-11-22 03:36:47 -05:00
RUN_DEPENDS= x11/dmenu>=3.9
MAKE_FLAGS= BINDIR="${TRUEPREFIX}/bin" \
MANDIR="${TRUEPREFIX}/man/cat" \
SHLIB_MAJOR=${LIBswmhack_VERSION:C/\..*//} \
SHLIB_MINOR=${LIBswmhack_VERSION:C/.*\.//}
2010-10-19 04:13:56 -04:00
USE_GROFF = Yes
pre-configure:
@${SUBST_CMD} ${WRKSRC}/scrotwm.conf ${WRKSRC}/scrotwm.c
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/scrotwm
${INSTALL_SCRIPT} ${WRKSRC}/baraction.sh ${PREFIX}/share/examples/scrotwm
${INSTALL_SCRIPT} ${WRKSRC}/initscreen.sh ${PREFIX}/share/examples/scrotwm
${INSTALL_SCRIPT} ${WRKSRC}/screenshot.sh ${PREFIX}/share/examples/scrotwm
${INSTALL_DATA} ${WRKSRC}/scrotwm.conf ${PREFIX}/share/examples/scrotwm
2010-10-19 20:38:58 -04:00
.for i in es it pt ru
${INSTALL_DATA_DIR} ${PREFIX}/man/$i/cat1
mv ${PREFIX}/man/cat1/scrotwm_$i.0 ${PREFIX}/man/$i/cat1/scrotwm.0
.endfor
.include <bsd.port.mk>