freebsd-ports/devel/pharmacy/Makefile
William Grzybowski fb999d5b77 devel/pharmacy: fix build with clang
- Fix build with clang, -Wno-return-type
- Add LICENSE (GPLv2)

Approved by:	culot / jpaetzel (mentors, implicit)
2013-06-16 11:37:55 +00:00

28 lines
636 B
Makefile

# Created by: Chris D. Faulhaber <jedgar@fxp.org>
# $FreeBSD$
PORTNAME= pharmacy
PORTVERSION= 0.3
PORTREVISION= 10
CATEGORIES= devel gnome
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= GNOME frontend for CVS
LICENSE= GPLv2
USE_GMAKE= yes
USES= pathfix gettext
USE_GNOME= gnomeprefix gnomelibs
GNU_CONFIGURE= yes
CPPFLAGS+= -Wno-return-type
CONFIGURE_ENV+= CPPCFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
pre-patch:
@${REINPLACE_CMD} -e 's|\(DATADIRNAME=\)lib|\1share|g ; \
s|USE_INCLUDED_LIBINTL=yes|#&|g ; \
s|\$$(top_builddir)/intl/libintl.a|-lintl|g' ${WRKSRC}/configure
.include <bsd.port.mk>