Lines 11-33
Link Here
|
11 |
MAINTAINER= ports@FreeBSD.org |
11 |
MAINTAINER= ports@FreeBSD.org |
12 |
COMMENT= Change Background Picture with time period |
12 |
COMMENT= Change Background Picture with time period |
13 |
|
13 |
|
14 |
LIB_DEPENDS= png15:${PORTSDIR}/graphics/png |
14 |
LICENSE= GPLv2 # (or later) |
15 |
|
15 |
|
|
|
16 |
LIB_DEPENDS= libpng15.so:${PORTSDIR}/graphics/png |
17 |
|
18 |
USES= gmake gettext pathfix |
16 |
USE_GNOME= gdkpixbuf |
19 |
USE_GNOME= gdkpixbuf |
17 |
USE_GMAKE= yes |
|
|
18 |
USES= gettext |
19 |
GNU_CONFIGURE= yes |
20 |
GNU_CONFIGURE= yes |
20 |
CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib" |
|
|
21 |
CPPFLAGS+= -I${LOCALBASE}/include |
22 |
CONFIGURE_ARGS= --disable-gnome |
21 |
CONFIGURE_ARGS= --disable-gnome |
23 |
|
22 |
|
24 |
NO_STAGE= yes |
23 |
CPPFLAGS+= -I${LOCALBASE}/include |
25 |
.include <bsd.port.pre.mk> |
24 |
LDFLAGS+= -L${LOCALBASE}/lib |
26 |
|
|
|
27 |
MAN1= chbg.1 |
28 |
|
25 |
|
29 |
post-patch: |
26 |
post-patch: |
30 |
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \ |
27 |
@${REINPLACE_CMD} -e \ |
31 |
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure |
28 |
's|^guint argc|gint argc|' ${WRKSRC}/src/chbg.c |
32 |
|
29 |
|
33 |
.include <bsd.port.post.mk> |
30 |
.include <bsd.port.mk> |