72ce57dd7c
- Use PLIST_FILES instead of PLIST - Do not silence installation messages - Update WWW
50 lines
1.1 KiB
Makefile
50 lines
1.1 KiB
Makefile
# Created by: Dennis Herrmann <adox@mcx2.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= wmfs
|
|
DISTVERSION= 201104
|
|
PORTREVISION= 4
|
|
CATEGORIES= x11-wm
|
|
MASTER_SITES= GHC
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Floating and tiling Window Manager From Scratch
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
LIB_DEPENDS= libfreetype.so:print/freetype2
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= xorg62
|
|
|
|
USES= pkgconfig
|
|
USE_XORG= x11 xft xpm
|
|
HAS_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --prefix ${PREFIX} \
|
|
--man-prefix ${MANPREFIX}/man \
|
|
--xdg-config-dir ${PREFIX}/etc/xdg
|
|
|
|
PLIST_FILES= bin/wmfs \
|
|
etc/xdg/wmfs/wmfsrc \
|
|
man/man1/wmfs.1.gz \
|
|
share/xsessions/wmfs.desktop
|
|
SUB_FILES= pkg-message
|
|
|
|
OPTIONS_DEFINE= XRANDR XINERAMA IMLIB
|
|
OPTIONS_DEFAULT= XRANDR XINERAMA IMLIB
|
|
|
|
XRANDR_USE= XORG=xrandr
|
|
XRANDR_CONFIGURE_OFF= --without-xrandr
|
|
XINERAMA_USE= XORG=xinerama
|
|
XINERAMA_CONFIGURE_OFF= --without-xinerama
|
|
IMLIB_LIB_DEPENDS= libImlib2.so:graphics/imlib2
|
|
IMLIB_CONFIGURE_OFF= --without-imlib2
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/configure
|
|
|
|
post-install:
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
|
|
|
|
.include <bsd.port.mk>
|