mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-21 04:06:46 +00:00
f86725a7a5
- Expand submitter's name to FQPI in the Makefile header - Add LICENSE (GPLv2) - Replace non-standard `${INSTALL} -d' with more common ${MKDIR} - Unmute installation of PORTDOCS - Drop trailing slashes from directory names
55 lines
1.4 KiB
Makefile
55 lines
1.4 KiB
Makefile
# New ports collection makefile for: matchbox
|
|
# Date created: 2002-07-14
|
|
# Whom: Trevor Johnson <trevor@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= matchbox
|
|
PORTVERSION= 1.2
|
|
DISTVERSIONPREFIX= window-manager-
|
|
CATEGORIES= x11-wm
|
|
MASTER_SITES= http://matchbox-project.org/sources/matchbox-window-manager/${PORTVERSION}/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Window manager suitable for low-resolution screens
|
|
|
|
LICENSE= GPLv2
|
|
|
|
USE_BZIP2= yes
|
|
USE_GNOME= gnometarget
|
|
USE_XORG= xfixes xcursor xext
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
PLIST_FILES= bin/matchbox-window-manager bin/matchbox-remote \
|
|
etc/matchbox/kbdconfig
|
|
PLIST_DIRS= etc/matchbox
|
|
PORTDOCS= AUTHORS ChangeLog NEWS README
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if defined(WITHOUT_XFT)
|
|
CONFIGURE_ARGS+= --enable-standalone
|
|
.else
|
|
USE_XORG+= xft
|
|
CONFIGURE_ARGS+= --enable-standalone-xft
|
|
.endif
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e \
|
|
'/GCC_/s|-g -Wall -fno-strict-aliasing||g' ${WRKSRC}/configure
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/matchbox-remote ${PREFIX}/bin
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/matchbox-window-manager ${PREFIX}/bin
|
|
@${MKDIR} ${PREFIX}/etc/matchbox
|
|
${INSTALL_DATA} ${WRKSRC}/data/kbdconfig ${PREFIX}/etc/matchbox
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|