1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-31 05:41:08 +00:00

editors/leafpad: Fix plist and some minor changes

* Fix plist
* Use localbase:ldflags helper
* Remove unneeded import of bsd.port.options.mk

Reported by:	poudriere
Approved by:	portmgr (blanket)
This commit is contained in:
Daniel Engberg 2023-08-29 19:05:33 +02:00
parent 8ed1523610
commit 16ed958f9d
2 changed files with 11 additions and 5 deletions

View File

@ -14,19 +14,17 @@ LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
libfreetype.so:print/freetype2 \
libharfbuzz.so:print/harfbuzz
USES= desktop-file-utils gettext gmake gnome pkgconfig
USES= desktop-file-utils gettext gmake gnome localbase:ldflags \
pkgconfig
USE_GNOME= cairo gdkpixbuf2 gtk20 intlhack
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-chooser
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -lpthread -L${LOCALBASE}/lib
LDFLAGS+= -lpthread
PORTDOCS= AUTHORS COPYING ChangeLog INSTALL README
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
post-extract:
@${CHMOD} a+x ${WRKSRC}/install-sh

View File

@ -1,10 +1,12 @@
bin/leafpad
man/man1/leafpad.1.gz
share/applications/leafpad.desktop
share/icons/hicolor/16x16/apps/leafpad.png
share/icons/hicolor/22x22/apps/leafpad.png
share/icons/hicolor/24x24/apps/leafpad.png
share/icons/hicolor/32x32/apps/leafpad.png
share/icons/hicolor/scalable/apps/leafpad.svg
share/locale/be/LC_MESSAGES/leafpad.mo
share/locale/bg/LC_MESSAGES/leafpad.mo
share/locale/br/LC_MESSAGES/leafpad.mo
share/locale/ca/LC_MESSAGES/leafpad.mo
@ -17,16 +19,20 @@ share/locale/es/LC_MESSAGES/leafpad.mo
share/locale/eu/LC_MESSAGES/leafpad.mo
share/locale/fi/LC_MESSAGES/leafpad.mo
share/locale/fr/LC_MESSAGES/leafpad.mo
share/locale/fur/LC_MESSAGES/leafpad.mo
share/locale/ga/LC_MESSAGES/leafpad.mo
share/locale/gl/LC_MESSAGES/leafpad.mo
share/locale/he/LC_MESSAGES/leafpad.mo
share/locale/hr/LC_MESSAGES/leafpad.mo
share/locale/hu/LC_MESSAGES/leafpad.mo
share/locale/id/LC_MESSAGES/leafpad.mo
share/locale/it/LC_MESSAGES/leafpad.mo
share/locale/ja/LC_MESSAGES/leafpad.mo
share/locale/ko/LC_MESSAGES/leafpad.mo
share/locale/ky/LC_MESSAGES/leafpad.mo
share/locale/lt/LC_MESSAGES/leafpad.mo
share/locale/lv/LC_MESSAGES/leafpad.mo
share/locale/nb/LC_MESSAGES/leafpad.mo
share/locale/nl/LC_MESSAGES/leafpad.mo
share/locale/nn/LC_MESSAGES/leafpad.mo
share/locale/pl/LC_MESSAGES/leafpad.mo
@ -35,9 +41,11 @@ share/locale/pt_BR/LC_MESSAGES/leafpad.mo
share/locale/ru/LC_MESSAGES/leafpad.mo
share/locale/sk/LC_MESSAGES/leafpad.mo
share/locale/sl/LC_MESSAGES/leafpad.mo
share/locale/sq/LC_MESSAGES/leafpad.mo
share/locale/sr/LC_MESSAGES/leafpad.mo
share/locale/sv/LC_MESSAGES/leafpad.mo
share/locale/ta/LC_MESSAGES/leafpad.mo
share/locale/th/LC_MESSAGES/leafpad.mo
share/locale/tr/LC_MESSAGES/leafpad.mo
share/locale/uk/LC_MESSAGES/leafpad.mo
share/locale/vi/LC_MESSAGES/leafpad.mo