diff options
author | pawel <pawel@FreeBSD.org> | 2013-12-25 06:01:22 +0800 |
---|---|---|
committer | pawel <pawel@FreeBSD.org> | 2013-12-25 06:01:22 +0800 |
commit | 418f9bb39000daf2ec3e63c9e9e5c7ddbad49c81 (patch) | |
tree | 405d8f3e7f90544ac9602a2904ee805085666d49 | |
parent | 0fcd0c70d17b4f12ffdca3dca7d3923f55dec64f (diff) | |
download | freebsd-ports-gnome-418f9bb39000daf2ec3e63c9e9e5c7ddbad49c81.tar.gz freebsd-ports-gnome-418f9bb39000daf2ec3e63c9e9e5c7ddbad49c81.tar.zst freebsd-ports-gnome-418f9bb39000daf2ec3e63c9e9e5c7ddbad49c81.zip |
- Fix build with clang
- Add LICENSE
- Support staging
PR: ports/184834
Submitted by: KATO Tsuguru <tkato432@yahoo.com>
-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 |