395bb75e12
- Follow upstream move from SF to GitHub, and new website hosting - Add USES=autoreconf libtool as GH tarball only comes with configure.ac - Add OPTIONS to select GTK3 or GTK2 (GTK3 by default as per upstream) - Add USE_GNOME=cairo und GTK2_LIB_DEPENDS undeclared dependencies Changes this release: https://github.com/galculator/galculator/blob/v2.1.4/ChangeLog Reviewed by: adamw (mentor) Approved by: naddy (maintainer), mat (mentor) Differential Revision: https://reviews.freebsd.org/D7789
34 lines
680 B
Makefile
34 lines
680 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= galculator
|
|
PORTVERSION= 2.1.4
|
|
DISTVERSIONPREFIX=v
|
|
CATEGORIES= math
|
|
|
|
MAINTAINER= naddy@FreeBSD.org
|
|
COMMENT= GTK-based scientific calculator
|
|
|
|
LICENSE= GPLv2
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
USE_GITHUB= yes
|
|
|
|
USES= autoreconf gettext gmake libtool pkgconfig tar:bzip2
|
|
USE_GNOME= cairo intltool
|
|
GNU_CONFIGURE= yes
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LIBS+= -L${LOCALBASE}/lib
|
|
INSTALLS_ICONS= yes
|
|
|
|
OPTIONS_SINGLE= GTK
|
|
OPTIONS_SINGLE_GTK= GTK2 GTK3
|
|
OPTIONS_DEFAULT= GTK3
|
|
|
|
GTK2_USE= gnome=gtk20
|
|
GTK2_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
|
|
libfreetype.so:print/freetype2
|
|
|
|
GTK3_CONFIGURE_ENABLE= gtk3
|
|
GTK3_USE= gnome=gtk30
|
|
|
|
.include <bsd.port.mk>
|