2016-09-29 22:00:41 +02:00
|
|
|
# Created by: Jason Helfman <jgh@FreeBSD.org>
|
2011-11-20 21:53:34 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= xpad
|
2019-08-13 21:04:34 +02:00
|
|
|
PORTVERSION= 5.4.0
|
2011-11-20 21:53:34 +01:00
|
|
|
CATEGORIES= deskutils
|
2016-02-24 18:07:49 +01:00
|
|
|
MASTER_SITES= https://launchpad.net/${PORTNAME}/trunk/${PORTVERSION}/+download/
|
2011-11-20 21:53:34 +01:00
|
|
|
|
2019-08-08 17:28:13 +02:00
|
|
|
MAINTAINER= jgh@FreeBSD.org
|
2012-12-16 02:27:01 +01:00
|
|
|
COMMENT= Virtual note-pad system for your X11 desktop
|
2011-11-20 21:53:34 +01:00
|
|
|
|
|
|
|
LICENSE= GPLv3
|
|
|
|
|
2016-04-01 16:00:51 +02:00
|
|
|
RUN_DEPENDS= gnome-icon-theme>=0:misc/gnome-icon-theme
|
2014-12-23 01:15:30 +01:00
|
|
|
|
2019-10-09 20:37:44 +02:00
|
|
|
USES= autoreconf compiler:c++11-lang gmake pkgconfig tar:bzip2 gnome xorg
|
2019-08-13 21:04:34 +02:00
|
|
|
|
2014-12-30 19:36:31 +01:00
|
|
|
OPTIONS_DEFINE= NLS DOCS
|
2014-04-04 15:19:55 +02:00
|
|
|
OPTIONS_SUB= yes
|
2013-04-17 01:13:51 +02:00
|
|
|
|
2014-12-30 19:36:31 +01:00
|
|
|
CONFLICTS_INSTALL= xpad3-[0-9]*
|
2016-09-29 22:00:41 +02:00
|
|
|
USE_XORG= x11 sm ice
|
|
|
|
USE_GNOME= gtk30 intltool gtksourceview3 cairo
|
2011-11-20 21:53:34 +01:00
|
|
|
INSTALLS_ICONS= yes
|
|
|
|
CPPFLAGS+= ${CXXFLAGS} -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
GNU_CONFIGURE= yes
|
2014-12-30 19:36:31 +01:00
|
|
|
PORTDOCS= *
|
2019-10-09 20:37:44 +02:00
|
|
|
PLIST_FILES= \
|
|
|
|
bin/xpad \
|
|
|
|
man/man1/xpad.1.gz \
|
|
|
|
share/applications/xpad.desktop \
|
|
|
|
share/icons/hicolor/scalable/apps/xpad.svg \
|
|
|
|
share/metainfo/xpad.appdata.xml \
|
|
|
|
${DATADIR}/help/xpad-user-help.txt
|
2011-11-20 21:53:34 +01:00
|
|
|
|
2014-04-04 15:19:55 +02:00
|
|
|
NLS_USES= gettext
|
|
|
|
NLS_CONFIGURE_ENABLE= nls
|
2019-10-09 20:37:44 +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/de/LC_MESSAGES/xpad.mo \
|
|
|
|
share/locale/en_GB/LC_MESSAGES/xpad.mo \
|
|
|
|
share/locale/es/LC_MESSAGES/xpad.mo \
|
|
|
|
share/locale/et/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/hr/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/pt/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/th/LC_MESSAGES/xpad.mo \
|
|
|
|
share/locale/tr/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
|
2013-04-17 01:13:51 +02:00
|
|
|
|
2014-04-04 15:19:55 +02:00
|
|
|
.include <bsd.port.options.mk>
|
2013-04-17 01:13:51 +02:00
|
|
|
|
2014-04-04 15:19:55 +02:00
|
|
|
post-patch:
|
2013-03-08 11:51:34 +01:00
|
|
|
@${REINPLACE_CMD} -e 's|glib/glist.h|glib.h|g' \
|
|
|
|
${WRKSRC}/src/xpad-undo.c
|
2016-02-24 18:07:49 +01:00
|
|
|
@${REINPLACE_CMD} -e 's|/etc/xdg/autostart|${LOCALBASE}/etc/xdg/autostart|g' \
|
|
|
|
${WRKSRC}/Makefile.am
|
2013-03-08 11:51:34 +01:00
|
|
|
|
2018-07-27 17:53:55 +02:00
|
|
|
post-install-DOCS-on:
|
2014-12-30 19:36:31 +01:00
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
.for doc in AUTHORS ChangeLog INSTALL NEWS README TODO THANKS
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR}
|
|
|
|
.endfor
|
|
|
|
|
2011-11-20 21:53:34 +01:00
|
|
|
.include <bsd.port.mk>
|