openbsd-ports/x11/scrotwm/Makefile
ajacoutot 2c3f5e3813 Update to scrotwm-0.9.34.
ok sthen@ marco@ (former maintainer)
from Gonzalo L. R. who takes maintainer
2011-08-29 13:21:29 +00:00

52 lines
1.4 KiB
Makefile

# $OpenBSD: Makefile,v 1.33 2011/08/29 13:21:29 ajacoutot Exp $
COMMENT= small tiling window manager
SHARED_LIBS= swmhack 0.0
DISTNAME= scrotwm-0.9.34
EXTRACT_SUFX= .tgz
CATEGORIES= x11
HOMEPAGE= http://www.scrotwm.org/
MAINTAINER= Gonzalo L. R. <gonzalo@x61.com.ar>
# BSD
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB += c X11 Xrandr Xtst util
MASTER_SITES= http://opensource.conformal.com/snapshots/scrotwm/
NO_REGRESS= Yes
# nroff is specifically used to format the Russian manpage
USE_GROFF= Yes
RUN_DEPENDS= x11/dmenu>=3.9
MAKE_FLAGS= BINDIR="${TRUEPREFIX}/bin" \
MANDIR="${TRUEPREFIX}/man/man" \
SHLIB_MAJOR=${LIBswmhack_VERSION:C/\..*//} \
SHLIB_MINOR=${LIBswmhack_VERSION:C/.*\.//}
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
## mans need to be updated
#.for i in es it pt ru
# ${INSTALL_DATA_DIR} ${PREFIX}/man/$i/man1
# mv ${PREFIX}/man/man1/scrotwm_$i.1 ${PREFIX}/man/$i/man1/scrotwm.1
#.endfor
.include <bsd.port.mk>