Lines 7-12
Link Here
|
7 |
|
7 |
|
8 |
PORTNAME= fvwm |
8 |
PORTNAME= fvwm |
9 |
PORTVERSION= 2.5.3 |
9 |
PORTVERSION= 2.5.3 |
|
|
10 |
PORTREVISION= 1 |
10 |
CATEGORIES= x11-wm |
11 |
CATEGORIES= x11-wm |
11 |
MASTER_SITES= ftp://ftp.fvwm.org/pub/fvwm/version-2/ \ |
12 |
MASTER_SITES= ftp://ftp.fvwm.org/pub/fvwm/version-2/ \ |
12 |
http://www.fvwm.org/generated/icon_download/ |
13 |
http://www.fvwm.org/generated/icon_download/ |
Lines 27-32
Link Here
|
27 |
USE_BZIP2= yes |
28 |
USE_BZIP2= yes |
28 |
USE_GNOMENG= yes |
29 |
USE_GNOMENG= yes |
29 |
WANT_GNOME= yes |
30 |
WANT_GNOME= yes |
|
|
31 |
USE_REINPLACE_CMD= yes |
30 |
|
32 |
|
31 |
.include <bsd.port.pre.mk> |
33 |
.include <bsd.port.pre.mk> |
32 |
|
34 |
|
Lines 45-50
Link Here
|
45 |
CONFIGURE_ARGS+= --disable-shape |
47 |
CONFIGURE_ARGS+= --disable-shape |
46 |
.endif |
48 |
.endif |
47 |
|
49 |
|
|
|
50 |
.if !defined(WITHOUT_PNG) |
51 |
LIB_DEPENDS+= png.5:${PORTSDIR}/graphics/png |
52 |
CONFIGURE_ARGS+= --with-png --with-png-includes=${LOCALBASE}/include \ |
53 |
--with-png-library=${LOCALBASE}/lib |
54 |
.endif |
55 |
|
56 |
|
48 |
PLIST_SUB+= FVWM_VERSION="${PORTVERSION}" |
57 |
PLIST_SUB+= FVWM_VERSION="${PORTVERSION}" |
49 |
|
58 |
|
50 |
.if ${HAVE_GNOME:Mimlib}!="" |
59 |
.if ${HAVE_GNOME:Mimlib}!="" |
Lines 77-82
Link Here
|
77 |
post-patch: |
86 |
post-patch: |
78 |
@${PERL} -pi -e 's,%%LOCALBASE%%,${LOCALBASE},' \ |
87 |
@${PERL} -pi -e 's,%%LOCALBASE%%,${LOCALBASE},' \ |
79 |
${WRKSRC}/modules/FvwmM4/FvwmM4.c |
88 |
${WRKSRC}/modules/FvwmM4/FvwmM4.c |
|
|
89 |
@${PERL} -pi -e 's,\"-lpng -lz,\"-L${LOCALBASE}/lib -lpng -lz,' \ |
90 |
${WRKSRC}/configure |
80 |
|
91 |
|
81 |
post-install: |
92 |
post-install: |
82 |
@${INSTALL_DATA} ${WRKSRC}/sample.fvwmrc/system.fvwm2rc \ |
93 |
@${INSTALL_DATA} ${WRKSRC}/sample.fvwmrc/system.fvwm2rc \ |