diff options
author | Pawel Pekala <pawel@FreeBSD.org> | 2013-12-24 22:01:22 +0000 |
---|---|---|
committer | Pawel Pekala <pawel@FreeBSD.org> | 2013-12-24 22:01:22 +0000 |
commit | 3f4f9547c968cf1d4b8a1a8946dc20173ac4150a (patch) | |
tree | 405d8f3e7f90544ac9602a2904ee805085666d49 /graphics/chbg | |
parent | 73e3a99cffb9cefc208c2fc5d0576127b7b15c7d (diff) |
Notes
Diffstat (limited to 'graphics/chbg')
-rw-r--r-- | graphics/chbg/Makefile | 21 | ||||
-rw-r--r-- | graphics/chbg/pkg-plist | 1 |
2 files changed, 10 insertions, 12 deletions
diff --git a/graphics/chbg/Makefile b/graphics/chbg/Makefile index 70b5470e7481..7530d3d6e687 100644 --- a/graphics/chbg/Makefile +++ b/graphics/chbg/Makefile @@ -11,23 +11,20 @@ EXTRACT_SUFX= .tgz MAINTAINER= ports@FreeBSD.org COMMENT= Change Background Picture with time period -LIB_DEPENDS= png15:${PORTSDIR}/graphics/png +LICENSE= GPLv2 # (or later) +LIB_DEPENDS= libpng15.so:${PORTSDIR}/graphics/png + +USES= gmake gettext pathfix USE_GNOME= gdkpixbuf -USE_GMAKE= yes -USES= gettext GNU_CONFIGURE= yes -CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib" -CPPFLAGS+= -I${LOCALBASE}/include CONFIGURE_ARGS= --disable-gnome -NO_STAGE= yes -.include <bsd.port.pre.mk> - -MAN1= chbg.1 +CPPFLAGS+= -I${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib post-patch: - @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \ - s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure + @${REINPLACE_CMD} -e \ + 's|^guint argc|gint argc|' ${WRKSRC}/src/chbg.c -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/graphics/chbg/pkg-plist b/graphics/chbg/pkg-plist index 9a42c11ddd3a..9b27b19ad82b 100644 --- a/graphics/chbg/pkg-plist +++ b/graphics/chbg/pkg-plist @@ -1,4 +1,5 @@ bin/chbg +man/man1/chbg.1.gz share/locale/de/LC_MESSAGES/chbg.mo share/locale/fr/LC_MESSAGES/chbg.mo share/locale/sk/LC_MESSAGES/chbg.mo |