View | Details | Raw Unified | Return to bug 152577
Collapse All | Expand All

(-)wmfs/Makefile (-22 / +30 lines)
Lines 6-57 Link Here
6
#
6
#
7
7
8
PORTNAME=	wmfs
8
PORTNAME=	wmfs
9
DISTVERSION=	201008
9
DISTVERSION=	201011
10
CATEGORIES=	x11-wm
10
CATEGORIES=	x11-wm
11
MASTER_SITES=	http://dl.wmfs.info/
11
MASTER_SITES= http://wmfs.info/attachments/download/15/ \
12
	http://cloud.github.com/downloads/philpep/wmfs/
12
13
13
MAINTAINER=	dhn@FreeBSD.org
14
MAINTAINER=	dhn@FreeBSD.org
14
COMMENT=	A floating and tiling Window Manager From Scratch
15
COMMENT=	A floating and tiling Window Manager From Scratch
15
16
17
LICENCE= BSD
18
16
LIB_DEPENDS+=	freetype.9:${PORTSDIR}/print/freetype2
19
LIB_DEPENDS+=	freetype.9:${PORTSDIR}/print/freetype2
17
20
18
USE_GNOME=	pkgconfig
21
USE_GNOME=	pkgconfig
19
USE_CMAKE=	yes
20
USE_XORG=	x11 xft xpm
22
USE_XORG=	x11 xft xpm
23
HAS_CONFIGURE= yes
21
24
22
MAN1=	${PORTNAME}.1
25
MAN1=	${PORTNAME}.1
23
MANCOMPRESSED=	yes
26
MANCOMPRESSED=	yes
24
27
25
PLIST_FILES=	bin/wmfs \
28
PLIST_FILES=	bin/wmfs \
26
		etc/xdg/wmfs/wmfsrc \
29
		etc/xdg/wmfs/wmfsrc \
27
		share/xsessions/wmfs.desktop \
30
		share/xsessions/wmfs.desktop
28
		%%DOCSDIR%%/TODO \
31
29
		%%DOCSDIR%%/README \
32
PLIST_DIRS=	etc/xdg/wmfs etc/xdg share/xsessions
30
		%%DOCSDIR%%/wmfsrc
31
PLIST_DIRS=	%%DOCSDIR%% etc/xdg/wmfs etc/xdg share/xsessions
32
33
33
OPTIONS=	IMLIB2 "Enable Imlib2 support" on
34
OPTIONS=	XRANDR "Enable xrandr support" on \
35
			XINERAMA "Enable xinerama support" on \
36
			IMLIB "Enable Imlib2 support" on
34
37
35
.include <bsd.port.pre.mk>
38
.include <bsd.port.pre.mk>
36
39
37
.if defined(WITH_IMLIB2)
40
CONFIGURE_ARGS= --prefix ${PREFIX} \
38
USE_EFL+=	imlib2
41
				--man-prefix ${MANPREFIX}/man \
42
				--xdg-config-dir ${PREFIX}/etc/xdg
43
44
.if defined(WITH_XRANDR)
45
USE_XORG+= xrandr
46
.else
47
CONFIGURE_ARGS+= --without-xrandr
39
.endif
48
.endif
40
49
41
post-patch:
50
.if defined(WITH_XINERAMA)
42
	@${REINPLACE_CMD} -e 's|share/$${PROJECT_NAME})|${DOCSDIR})|g' \
51
USE_XORG+= xinerama
43
		-e 's|$${PREFIX}/share/man|/$${PREFIX}/man|g' \
52
.else
44
		-e 's|$${SYSCONFDIR}/xdg|${PREFIX}/etc/xdg|g'  ${WRKSRC}/CMakeLists.txt
53
CONFIGURE_ARGS+= --without-xinerama
54
.endif
45
55
46
post-install:
56
.if defined(WITH_IMLIB)
47
	${INSTALL_PROGRAM} ${WRKSRC}/wmfs ${PREFIX}/bin/
57
USE_EFL+= imlib2
48
.if !defined(NOPORTDOCS)
58
.else
49
	@${MKDIR} ${DOCSDIR}
59
CONFIGURE_ARGS+= --without-imlib2
50
	${INSTALL_DATA} ${WRKSRC}/TODO ${DOCSDIR}/TODO
51
	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/README
52
	${INSTALL_DATA} ${WRKSRC}/wmfsrc ${DOCSDIR}/wmfsrc
53
.endif
60
.endif
54
61
62
post-install:
55
	@${CAT} ${PKGMESSAGE} | ${SED} "s|PREFIX|${PREFIX}|g" \
63
	@${CAT} ${PKGMESSAGE} | ${SED} "s|PREFIX|${PREFIX}|g" \
56
		${PKGDIR}/pkg-message
64
		${PKGDIR}/pkg-message
57
65
(-)wmfs/distinfo (-3 / +2 lines)
Lines 1-3 Link Here
1
MD5 (wmfs-201008.tar.gz) = 22e3eb09d862ed347802bbd9b5df7f1e
1
SHA256 (wmfs-201011.tar.gz) = 85d3c77a267608c3c736f3a23032119bda3328f3571d5d3064e99bcea55e69e5
2
SHA256 (wmfs-201008.tar.gz) = 8f0936bf04a1c0250bbe82cba4b86abb7b10fa8cc23587409da14908a88d35b9
2
SIZE (wmfs-201011.tar.gz) = 85765
3
SIZE (wmfs-201008.tar.gz) = 72498
(-)wmfs/pkg-message (-1 / +1 lines)
Lines 2-8 Link Here
2
wmfs has been installed.
2
wmfs has been installed.
3
3
4
A default wmfsrc has been installed to:
4
A default wmfsrc has been installed to:
5
 PREFIX/share/doc/wmfs/wmfsrc
5
 PREFIX/etc/xdg/wmfs/wmfsrc
6
Copy it to ~/.config/wmfs/ and modify it.
6
Copy it to ~/.config/wmfs/ and modify it.
7
7
8
##########################################
8
##########################################

Return to bug 152577