2013-04-17 01:13:51 +02:00
|
|
|
# Created by: Guillaume Paquet <amyfoub@gmail.com>
|
2003-10-06 05:21:36 +02:00
|
|
|
|
|
|
|
PORTNAME= xpad
|
2009-03-16 16:30:18 +01:00
|
|
|
PORTVERSION= 3.1
|
2018-07-27 17:56:57 +02:00
|
|
|
PORTREVISION= 9
|
2003-10-06 05:21:36 +02:00
|
|
|
CATEGORIES= deskutils
|
2009-03-16 16:30:18 +01:00
|
|
|
MASTER_SITES= http://launchpad.net/xpad/stable/${PORTVERSION}/+download/
|
2014-12-30 19:27:51 +01:00
|
|
|
PKGNAMESUFFIX= 3
|
2003-10-06 05:21:36 +02:00
|
|
|
|
2019-08-08 17:28:13 +02:00
|
|
|
MAINTAINER= jgh@FreeBSD.org
|
2012-12-16 02:25:31 +01:00
|
|
|
COMMENT= Virtual note-pad system for your X11 desktop
|
2003-10-06 05:21:36 +02:00
|
|
|
|
2011-11-20 21:18:25 +01:00
|
|
|
LICENSE= GPLv3
|
|
|
|
|
2018-07-27 17:56:57 +02:00
|
|
|
LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
|
|
|
|
libfreetype.so:print/freetype2
|
|
|
|
|
2019-10-09 20:39:03 +02:00
|
|
|
USES= pkgconfig gmake tar:bzip2 xorg gnome
|
|
|
|
|
2013-04-17 01:13:51 +02:00
|
|
|
OPTIONS_DEFINE= NLS
|
2014-04-04 15:22:14 +02:00
|
|
|
OPTIONS_SUB= yes
|
2013-04-17 01:13:51 +02:00
|
|
|
|
2021-11-23 23:11:40 +01:00
|
|
|
CONFLICTS_INSTALL= xpad
|
2011-11-20 21:18:25 +01:00
|
|
|
|
2018-07-27 17:56:57 +02:00
|
|
|
USE_XORG= x11 sm ice
|
|
|
|
USE_GNOME= gtk20 intltool cairo
|
2005-11-13 22:38:20 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2012-12-16 02:25:31 +01:00
|
|
|
|
2014-04-04 15:22:14 +02:00
|
|
|
NLS_USES= gettext
|
|
|
|
NLS_CPPFLAGS= ${CXXFLAGS} -I${LOCALBASE}/include
|
|
|
|
NLS_LDFLAGS= -L${LOCALBASE}/lib
|
|
|
|
NLS_CONFIGURE_ENABLE= nls
|
2019-10-09 20:39:03 +02:00
|
|
|
NLS_PLIST_FILES= \
|
|
|
|
share/locale/af/LC_MESSAGES/xpad.mo \
|
|
|
|
share/locale/bg/LC_MESSAGES/xpad.mo \
|
|
|
|
share/locale/cs/LC_MESSAGES/xpad.mo \
|
|
|
|
share/locale/da/LC_MESSAGES/xpad.mo \
|
|
|
|
share/locale/en_GB/LC_MESSAGES/xpad.mo \
|
|
|
|
share/locale/es/LC_MESSAGES/xpad.mo \
|
|
|
|
share/locale/fi/LC_MESSAGES/xpad.mo \
|
|
|
|
share/locale/fr/LC_MESSAGES/xpad.mo \
|
|
|
|
share/locale/ga/LC_MESSAGES/xpad.mo \
|
|
|
|
share/locale/hu/LC_MESSAGES/xpad.mo \
|
|
|
|
share/locale/it/LC_MESSAGES/xpad.mo \
|
|
|
|
share/locale/ja/LC_MESSAGES/xpad.mo \
|
|
|
|
share/locale/ko/LC_MESSAGES/xpad.mo \
|
|
|
|
share/locale/lv/LC_MESSAGES/xpad.mo \
|
|
|
|
share/locale/nl/LC_MESSAGES/xpad.mo \
|
|
|
|
share/locale/ro/LC_MESSAGES/xpad.mo \
|
|
|
|
share/locale/ru/LC_MESSAGES/xpad.mo \
|
|
|
|
share/locale/rw/LC_MESSAGES/xpad.mo \
|
|
|
|
share/locale/sv/LC_MESSAGES/xpad.mo \
|
|
|
|
share/locale/vi/LC_MESSAGES/xpad.mo \
|
|
|
|
share/locale/zh_CN/LC_MESSAGES/xpad.mo \
|
|
|
|
share/locale/zh_TW/LC_MESSAGES/xpad.mo
|
|
|
|
|
|
|
|
PLIST_FILES= \
|
|
|
|
bin/xpad \
|
|
|
|
man/man1/xpad.1.gz \
|
|
|
|
share/applications/xpad.desktop \
|
|
|
|
share/icons/hicolor/scalable/apps/xpad.svg
|
2013-04-17 01:13:51 +02:00
|
|
|
|
2014-04-04 15:22:14 +02:00
|
|
|
.include <bsd.port.options.mk>
|
2013-04-17 01:13:51 +02:00
|
|
|
|
2018-07-27 17:56:57 +02:00
|
|
|
post-patch-NLS-off:
|
2013-04-17 01:13:51 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|SUBDIRS = autopackage doc src images po|SUBDIRS = autopackage doc src images|' \
|
|
|
|
${WRKSRC}/Makefile.in
|
|
|
|
|
2003-10-06 05:21:36 +02:00
|
|
|
.include <bsd.port.mk>
|