1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

- Fix build with clang

- Add LICENSE
- Support staging

PR:		ports/184834
Submitted by:	KATO Tsuguru <tkato432@yahoo.com>
This commit is contained in:
Pawel Pekala 2013-12-24 22:01:22 +00:00
parent 73e3a99cff
commit 3f4f9547c9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=337392
2 changed files with 10 additions and 12 deletions

View File

@ -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>

View File

@ -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