- Bump PORTEPOCH, this was missed in previous update [1].
- Use proper shebang line in perl and python scripts [1]. - Define INSTALLS_ICONS and USE_GETTEXT where appropriate. - Implement WITHOUT_NLS knob. Reported by: Nick Withers <nick@nickwithers.com> [1]
This commit is contained in:
parent
5f6ba2a345
commit
98130c3c16
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=228772
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= docs
|
||||
PORTVERSION= 1.4.3
|
||||
PORTEPOCH= 1
|
||||
CATEGORIES= cad
|
||||
MASTER_SITES= ftp://ftp.geda.seul.org/pub/geda/release/v1.4/${PORTVERSION}/ \
|
||||
http://geda.seul.org/release/v1.4/${PORTVERSION}/
|
||||
|
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= examples
|
||||
PORTVERSION= 1.4.3
|
||||
PORTEPOCH= 1
|
||||
CATEGORIES= cad
|
||||
MASTER_SITES= ftp://ftp.geda.seul.org/pub/geda/release/v1.4/${PORTVERSION}/ \
|
||||
http://geda.seul.org/release/v1.4/${PORTVERSION}/
|
||||
|
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= gattrib
|
||||
PORTVERSION= 1.4.3
|
||||
PORTEPOCH= 1
|
||||
CATEGORIES= cad
|
||||
MASTER_SITES= ftp://ftp.geda.seul.org/pub/geda/release/v1.4/${PORTVERSION}/ \
|
||||
http://geda.seul.org/release/v1.4/${PORTVERSION}/
|
||||
@ -25,11 +26,20 @@ DOCSDIR= ${PREFIX}/share/doc/geda
|
||||
GNU_CONFIGURE= yes
|
||||
USE_GNOME= gtk20 glib20
|
||||
USE_GMAKE= yes
|
||||
INSTALLS_ICONS= yes
|
||||
CONFIGURE_ARGS= --with-docdir="${DOCSDIR}" --disable-update-mime-database \
|
||||
--disable-update-desktop-database
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
||||
LDFLAGS="-L${LOCALBASE}/lib"
|
||||
|
||||
.if !defined(WITHOUT_NLS)
|
||||
USE_GETTEXT= yes
|
||||
PLIST_SUB+= NLS=""
|
||||
.else
|
||||
CONFIGURE_ARGS+= --disable-nls
|
||||
PLIST_SUB+= NLS="@comment "
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -E \
|
||||
-e "s,^(DATADIR[[:space:]]*=[[:space:]]*)gEDA,\1geda," \
|
||||
|
@ -1,7 +1,7 @@
|
||||
bin/gattrib
|
||||
lib/locale/de_DE/LC_MESSAGES/geda-gattrib.mo
|
||||
lib/locale/es_ES/LC_MESSAGES/geda-gattrib.mo
|
||||
lib/locale/nl_NL/LC_MESSAGES/geda-gattrib.mo
|
||||
%%NLS%%lib/locale/de_DE/LC_MESSAGES/geda-gattrib.mo
|
||||
%%NLS%%lib/locale/es_ES/LC_MESSAGES/geda-gattrib.mo
|
||||
%%NLS%%lib/locale/nl_NL/LC_MESSAGES/geda-gattrib.mo
|
||||
share/applications/geda-gattrib.desktop
|
||||
%%DATADIR%%/gattrib-menus.xml
|
||||
%%DATADIR%%/system-gattribrc
|
||||
@ -15,10 +15,10 @@ share/icons/hicolor/scalable/apps/geda-gattrib.svg
|
||||
@dirrmtry share/icons
|
||||
@dirrmtry %%DATADIR%%
|
||||
@dirrmtry share/applications
|
||||
@dirrmtry lib/locale/nl_NL/LC_MESSAGES
|
||||
@dirrmtry lib/locale/nl_NL
|
||||
@dirrmtry lib/locale/es_ES/LC_MESSAGES
|
||||
@dirrmtry lib/locale/es_ES
|
||||
@dirrmtry lib/locale/de_DE/LC_MESSAGES
|
||||
@dirrmtry lib/locale/de_DE
|
||||
@dirrmtry lib/locale
|
||||
%%NLS%%@dirrmtry lib/locale/nl_NL/LC_MESSAGES
|
||||
%%NLS%%@dirrmtry lib/locale/nl_NL
|
||||
%%NLS%%@dirrmtry lib/locale/es_ES/LC_MESSAGES
|
||||
%%NLS%%@dirrmtry lib/locale/es_ES
|
||||
%%NLS%%@dirrmtry lib/locale/de_DE/LC_MESSAGES
|
||||
%%NLS%%@dirrmtry lib/locale/de_DE
|
||||
%%NLS%%@dirrmtry lib/locale
|
||||
|
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= gschem
|
||||
PORTVERSION= 1.4.3
|
||||
PORTEPOCH= 1
|
||||
CATEGORIES= cad
|
||||
MASTER_SITES= ftp://ftp.geda.seul.org/pub/geda/release/v1.4/${PORTVERSION}/ \
|
||||
http://geda.seul.org/release/v1.4/${PORTVERSION}/
|
||||
|
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= netlist
|
||||
PORTVERSION= 1.4.3
|
||||
PORTEPOCH= 1
|
||||
CATEGORIES= cad
|
||||
MASTER_SITES= ftp://ftp.geda.seul.org/pub/geda/release/v1.4/${PORTVERSION}/ \
|
||||
http://geda.seul.org/release/v1.4/${PORTVERSION}/
|
||||
|
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= symbols
|
||||
PORTVERSION= 1.4.3
|
||||
PORTEPOCH= 1
|
||||
CATEGORIES= cad
|
||||
MASTER_SITES= ftp://ftp.geda.seul.org/pub/geda/release/v1.4/${PORTVERSION}/ \
|
||||
http://geda.seul.org/release/v1.4/${PORTVERSION}/
|
||||
|
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= symcheck
|
||||
PORTVERSION= 1.4.3
|
||||
PORTEPOCH= 1
|
||||
CATEGORIES= cad
|
||||
MASTER_SITES= ftp://ftp.geda.seul.org/pub/geda/release/v1.4/${PORTVERSION}/ \
|
||||
http://geda.seul.org/release/v1.4/${PORTVERSION}/
|
||||
|
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= utils
|
||||
PORTVERSION= 1.4.3
|
||||
PORTEPOCH= 1
|
||||
CATEGORIES= cad
|
||||
MASTER_SITES= ftp://ftp.geda.seul.org/pub/geda/release/v1.4/${PORTVERSION}/ \
|
||||
http://geda.seul.org/release/v1.4/${PORTVERSION}/
|
||||
@ -25,6 +26,8 @@ DATADIR= ${PREFIX}/share/geda
|
||||
GNU_CONFIGURE= yes
|
||||
USE_GMAKE= yes
|
||||
USE_GNOME= gtk20
|
||||
USE_PERL5_RUN= yes
|
||||
USE_PYTHON_RUN= yes
|
||||
CONFIGURE_ARGS= --with-docdir=${DOCSDIR}
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
||||
LDFLAGS="-L${LOCALBASE}/lib"
|
||||
@ -35,5 +38,9 @@ post-patch:
|
||||
@${REINPLACE_CMD} -E \
|
||||
-e "s,^(DATADIR[[:space:]]*=[[:space:]]*)gEDA,\1geda," \
|
||||
${WRKSRC}/configure
|
||||
@${REINPLACE_CMD} -E \
|
||||
-e "s,^(#!)/usr/bin/perl,\1${PERL}," \
|
||||
-e "s,^(#!)/usr/bin/python,\1${PYTHON_CMD}," \
|
||||
${WRKSRC}/scripts/*
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= geda
|
||||
PORTVERSION= 1.4.3
|
||||
PORTEPOCH= 1
|
||||
CATEGORIES= cad
|
||||
MASTER_SITES= # empty
|
||||
DISTFILES= # none
|
||||
|
@ -8,6 +8,7 @@
|
||||
PORTNAME= libgeda
|
||||
PORTVERSION= 1.4.3
|
||||
PORTREVISION= 0
|
||||
PORTEPOCH= 1
|
||||
CATEGORIES= cad
|
||||
MASTER_SITES= ftp://ftp.geda.seul.org/pub/geda/release/v1.4/${PORTVERSION}/ \
|
||||
http://geda.seul.org/release/v1.4/${PORTVERSION}/
|
||||
@ -27,6 +28,14 @@ CONFIGURE_ARGS= --disable-update-mime-database \
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
||||
LDFLAGS="-L${LOCALBASE}/lib"
|
||||
|
||||
.if !defined(WITHOUT_NLS)
|
||||
USE_GETTEXT= yes
|
||||
PLIST_SUB+= NLS=""
|
||||
.else
|
||||
CONFIGURE_ARGS+= --disable-nls
|
||||
PLIST_SUB+= NLS="@comment "
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -E \
|
||||
-e "s,^(DATADIR[[:space:]]*=[[:space:]]*)gEDA,\1geda," \
|
||||
|
@ -35,10 +35,10 @@ share/icons/hicolor/48x48/mimetypes/application-x-geda-symbol-48.png
|
||||
share/icons/hicolor/scalable/mimetypes/application-x-geda-gsch2pcb-project.svg
|
||||
share/icons/hicolor/scalable/mimetypes/application-x-geda-schematic.svg
|
||||
share/icons/hicolor/scalable/mimetypes/application-x-geda-symbol.svg
|
||||
share/locale/de_DE/LC_MESSAGES/libgeda33.mo
|
||||
share/locale/en_GB/LC_MESSAGES/libgeda33.mo
|
||||
share/locale/es_ES/LC_MESSAGES/libgeda33.mo
|
||||
share/locale/nl_NL/LC_MESSAGES/libgeda33.mo
|
||||
%%NLS%%share/locale/de_DE/LC_MESSAGES/libgeda33.mo
|
||||
%%NLS%%share/locale/en_GB/LC_MESSAGES/libgeda33.mo
|
||||
%%NLS%%share/locale/es_ES/LC_MESSAGES/libgeda33.mo
|
||||
%%NLS%%share/locale/nl_NL/LC_MESSAGES/libgeda33.mo
|
||||
share/mime/packages/libgeda.xml
|
||||
share/mimelnk/application/x-geda-gsch2pcb-project.desktop
|
||||
share/mimelnk/application/x-geda-schematic.desktop
|
||||
@ -47,10 +47,10 @@ share/mimelnk/application/x-geda-symbol.desktop
|
||||
@dirrmtry share/mimelnk
|
||||
@dirrmtry share/mime/packages
|
||||
@dirrmtry share/mime
|
||||
@dirrmtry share/locale/nl_NL/LC_MESSAGES
|
||||
@dirrmtry share/locale/nl_NL
|
||||
@dirrmtry share/locale/de_DE/LC_MESSAGES
|
||||
@dirrmtry share/locale/de_DE
|
||||
%%NLS%%@dirrmtry share/locale/nl_NL/LC_MESSAGES
|
||||
%%NLS%%@dirrmtry share/locale/nl_NL
|
||||
%%NLS%%@dirrmtry share/locale/de_DE/LC_MESSAGES
|
||||
%%NLS%%@dirrmtry share/locale/de_DE
|
||||
@dirrmtry share/icons/hicolor/scalable/mimetypes
|
||||
@dirrmtry share/icons/hicolor/scalable
|
||||
@dirrmtry share/icons/hicolor/48x48/mimetypes
|
||||
|
Loading…
Reference in New Issue
Block a user