dd3c1972ee
Initial diff by me with tweaks by landry@ and ajacoutot@ OK landry@ ajacoutot@
42 lines
958 B
Makefile
42 lines
958 B
Makefile
# $OpenBSD: Makefile,v 1.5 2008/11/05 13:36:41 pea Exp $
|
|
|
|
COMMENT= simple login manager
|
|
|
|
DISTNAME= slim-1.3.1
|
|
|
|
CATEGORIES= x11
|
|
HOMEPAGE= http://slim.berlios.de/
|
|
|
|
MAINTAINER= Landry Breuil <gaston@gcu.info>
|
|
MASTER_SITES= ${MASTER_SITE_BERLIOS:=slim/}
|
|
|
|
# GPL
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
USE_X11= Yes
|
|
NO_REGRESS= Yes
|
|
LIB_DEPENDS= jpeg::graphics/jpeg \
|
|
png::graphics/png
|
|
|
|
WANTLIB= X11 Xft Xmu Xrender fontconfig c m stdc++ z freetype
|
|
|
|
MAKE_FILE= Makefile.openbsd
|
|
MAKE_FLAGS+= CFGDIR=${SYSCONFDIR}
|
|
FAKE_FLAGS+= PREFIX=${PREFIX} \
|
|
CFGDIR=${PREFIX}/share/examples/slim
|
|
|
|
pre-configure:
|
|
${SUBST_CMD} ${WRKSRC}/slim.1 ${WRKSRC}/slim.conf
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/slim
|
|
${SUBST_CMD} -c ${FILESDIR}/README.OpenBSD \
|
|
${PREFIX}/share/doc/slim/README.OpenBSD
|
|
chown ${SHAREOWN}:${SHAREGRP} \
|
|
${PREFIX}/share/doc/slim/README.OpenBSD
|
|
|
|
.include <bsd.port.mk>
|