View | Details | Raw Unified | Return to bug 55256 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (-9 / +32 lines)
Lines 11-17 Link Here
11
CATEGORIES=	x11-wm
11
CATEGORIES=	x11-wm
12
MASTER_SITES=	ftp://ftp.fvwm.org/pub/fvwm/version-2/ \
12
MASTER_SITES=	ftp://ftp.fvwm.org/pub/fvwm/version-2/ \
13
		http://www.fvwm.org/generated/icon_download/
13
		http://www.fvwm.org/generated/icon_download/
14
DISTFILES=	${DISTNAME}${EXTRACT_SUFX} fvwm_icons.tgz
14
DISTFILES=	${DISTNAME}${EXTRACT_SUFX}
15
16
.if !defined(WITHOUT_ICONS)
17
DISTFILES+=	fvwm_icons.tgz
18
.endif
19
15
EXTRACT_ONLY=	${DISTNAME}${EXTRACT_SUFX}
20
EXTRACT_ONLY=	${DISTNAME}${EXTRACT_SUFX}
16
21
17
MAINTAINER=	cy@FreeBSD.org
22
MAINTAINER=	cy@FreeBSD.org
Lines 45-54 Link Here
45
CONFIGURE_ARGS+=	--disable-sm
50
CONFIGURE_ARGS+=	--disable-sm
46
.endif
51
.endif
47
52
48
.if defined(WITHOUT_SHAPE)
49
CONFIGURE_ARGS+=	--disable-shape
50
.endif
51
52
.if defined(WITH_MULTIBYTE)
53
.if defined(WITH_MULTIBYTE)
53
CONFIGURE_ARGS+=	--enable-multibyte
54
CONFIGURE_ARGS+=	--enable-multibyte
54
.endif
55
.endif
Lines 65-84 Link Here
65
			--with-iconv-includes=/usr/local/include
66
			--with-iconv-includes=/usr/local/include
66
.endif
67
.endif
67
68
69
.if defined(WITHOUT_BIDI)
70
CONFIGURE_ARGS+=        --disable-bidi
71
.endif
72
73
.if defined(WITHOUT_XINERAMA)
74
CONFIGURE_ARGS+=        --disable-xinerama
75
.endif
76
68
PLIST_SUB+=	FVWM_VERSION="${PORTVERSION}"
77
PLIST_SUB+=	FVWM_VERSION="${PORTVERSION}"
69
78
70
.if ${HAVE_GNOME:Mimlib}!=""
79
.if ${HAVE_GNOME:Mimlib}!=""
71
USE_GNOME=	imlib
80
USE_GNOME=	imlib
72
PKGNAMESUFFIX=	-imlib
81
PKGNAMESUFFIX=	-imlib
73
CONFIGURE_ARGS+=	--with-gnome --enable-gnome-hints \
82
CONFIGURE_ARGS+=	--enable-gtktest --enable-imlibtest
74
			--enable-gtktest --enable-imlibtest
75
PLIST_SUB+=	GTK=""
83
PLIST_SUB+=	GTK=""
76
.else
84
.else
77
CONFIGURE_ARGS+=	--without-gnome --disable-gnome-hints \
85
CONFIGURE_ARGS+=	--disable-gtktest --disable-imlibtest
78
			--disable-gtktest --disable-imlibtest
79
PLIST_SUB+=	GTK="@comment not installed: "
86
PLIST_SUB+=	GTK="@comment not installed: "
80
.endif
87
.endif
81
88
89
.if !defined(WITHOUT_GNOME)
90
CONFIGURE_ARGS+=	--with-gnome --enable-gnome-hints
91
.else
92
CONFIGURE_ARGS+=	--without-gnome --disable-gnome-hints
93
.endif
94
82
MAN1=	FvwmAnimate.1 FvwmAuto.1 FvwmBacker.1 FvwmBanner.1 FvwmButtons.1 \
95
MAN1=	FvwmAnimate.1 FvwmAuto.1 FvwmBacker.1 FvwmBanner.1 FvwmButtons.1 \
83
	FvwmCommand.1 FvwmConsole.1 FvwmConsoleC.pl.1 FvwmCpp.1 FvwmDebug.1 \
96
	FvwmCommand.1 FvwmConsole.1 FvwmConsoleC.pl.1 FvwmCpp.1 FvwmDebug.1 \
84
	FvwmDragWell.1 FvwmEvent.1 FvwmForm.1 FvwmGtk.1 FvwmIconBox.1 \
97
	FvwmDragWell.1 FvwmEvent.1 FvwmForm.1 FvwmGtk.1 FvwmIconBox.1 \
Lines 93-101 Link Here
93
106
94
107
95
post-extract:
108
post-extract:
109
.if !defined(WITHOUT_ICONS)
110
PLIST_SUB+= ICONS=""
111
96
	@${MKDIR} ${WRKDIR}/icons
112
	@${MKDIR} ${WRKDIR}/icons
97
	@${TAR} -xzf ${DISTDIR}/fvwm_icons.tgz -C ${WRKDIR}/icons
113
	@${TAR} -xzf ${DISTDIR}/fvwm_icons.tgz -C ${WRKDIR}/icons
98
114
115
.else
116
PLIST_SUB+= ICONS="@comment not installed"
117
.endif
118
99
post-patch:
119
post-patch:
100
	@${REINPLACE_CMD} -e 's,%%LOCALBASE%%,${LOCALBASE},' \
120
	@${REINPLACE_CMD} -e 's,%%LOCALBASE%%,${LOCALBASE},' \
101
		${WRKSRC}/modules/FvwmM4/FvwmM4.c \
121
		${WRKSRC}/modules/FvwmM4/FvwmM4.c \
Lines 108-115 Link Here
108
		${INSTALL_DATA} ${WRKSRC}/sample.fvwmrc/system.fvwm2rc \
128
		${INSTALL_DATA} ${WRKSRC}/sample.fvwmrc/system.fvwm2rc \
109
			${PREFIX}/etc/system.fvwm2rc; \
129
			${PREFIX}/etc/system.fvwm2rc; \
110
	fi
130
	fi
131
132
.if !defined(WITHOUT_ICONS)
111
	@${MKDIR} ${PREFIX}/share/fvwm2/pixmaps
133
	@${MKDIR} ${PREFIX}/share/fvwm2/pixmaps
112
	${INSTALL_DATA} ${WRKDIR}/icons/fvwm_icons/*.xpm \
134
	${INSTALL_DATA} ${WRKDIR}/icons/fvwm_icons/*.xpm \
113
		${PREFIX}/share/fvwm2/pixmaps
135
		${PREFIX}/share/fvwm2/pixmaps
136
.endif
114
137
115
.include <bsd.port.post.mk>
138
.include <bsd.port.post.mk>

Return to bug 55256