openbsd-ports/x11/xmonad/Makefile

46 lines
1.1 KiB
Makefile
Raw Normal View History

2010-06-15 13:59:24 -04:00
# $OpenBSD: Makefile,v 1.15 2010/06/15 17:59:24 kili Exp $
2010-04-22 18:00:45 -04:00
COMMENT-main = tiling window manager
COMMENT-lib = libraries for runtime configuration
2010-04-22 18:00:45 -04:00
DISTNAME = xmonad-0.9.1
2010-06-15 13:59:24 -04:00
PKGNAME-main = ${DISTNAME}p1
PKGNAME-lib = ${DISTNAME:S,-,-lib-,}p3
2010-04-22 18:00:45 -04:00
CATEGORIES = x11
HOMEPAGE = http://www.xmonad.org/
2010-04-22 18:00:45 -04:00
MULTI_PACKAGES = -main -lib
2010-04-22 18:00:45 -04:00
# BSD3
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
WANTLIB-main = X11 Xext Xinerama c m util
2010-04-22 18:00:45 -04:00
MODULES = lang/ghc converters/libiconv
MODGHC_BUILD = cabal hackage haddock register
.if defined (SUBPACKAGE) && ${SUBPACKAGE:M-main}
2010-04-22 18:00:45 -04:00
MODGHC_BUILD += nort
.endif
2010-04-22 18:00:45 -04:00
BUILD_DEPENDS = :hs-X11->=1.5.0.0:x11/hs-X11
LIB_DEPENDS-lib = :hs-X11->=1.5.0.0:x11/hs-X11
2010-06-15 13:59:24 -04:00
LIB_DEPENDS-main = ${LIB_DEPENDS} \
gmp::devel/gmp
2010-04-22 18:00:45 -04:00
USE_X11 = Yes
2010-04-22 18:00:45 -04:00
post-install:
@${INSTALL_MAN_DIR} ${PREFIX}/man/man1
@${INSTALL_MAN} ${WRKSRC}/man/xmonad.1 ${PREFIX}/man/man1
@${INSTALL_DATA} ${WRKSRC}/CONFIG ${PREFIX}/share/doc/${DISTNAME}
@${INSTALL_DATA} ${WRKSRC}/man/xmonad.hs ${PREFIX}/share/doc/${DISTNAME}
2010-04-22 18:00:45 -04:00
# Needs to be built with different configuration.
NO_REGRESS = Yes
.include <bsd.port.mk>