mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
comms/geoid: fix build on CURRENT and pet portlint
Port changes: * Add dependencies * Correct the patch tag in post-patch * Add patch PR: 231162 Submitted by: swills
This commit is contained in:
parent
eb96867973
commit
2c6b7d5626
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=478990
2 changed files with 16 additions and 4 deletions
|
@ -3,7 +3,7 @@
|
||||||
PORTNAME= geoid
|
PORTNAME= geoid
|
||||||
PORTVERSION= 1.0
|
PORTVERSION= 1.0
|
||||||
DISTVERSIONSUFFIX= .src
|
DISTVERSIONSUFFIX= .src
|
||||||
PORTREVISION= 8
|
PORTREVISION= 9
|
||||||
CATEGORIES= comms hamradio
|
CATEGORIES= comms hamradio
|
||||||
MASTER_SITES= http://www.w1hkj.com/LinuxApps/
|
MASTER_SITES= http://www.w1hkj.com/LinuxApps/
|
||||||
DISTNAME= fl_geoid
|
DISTNAME= fl_geoid
|
||||||
|
@ -15,14 +15,17 @@ COMMENT= Geodetic computer for amateur radio use
|
||||||
LICENSE= GPLv2+ NONE # only one src file contains license
|
LICENSE= GPLv2+ NONE # only one src file contains license
|
||||||
LICENSE_COMB= multi
|
LICENSE_COMB= multi
|
||||||
|
|
||||||
LIB_DEPENDS= libfltk.so:x11-toolkits/fltk
|
LIB_DEPENDS= libfltk.so:x11-toolkits/fltk \
|
||||||
|
libfontconfig.so:x11-fonts/fontconfig \
|
||||||
|
libpng16.so:graphics/png
|
||||||
|
|
||||||
USES= gmake
|
USES= gmake jpeg
|
||||||
|
USE_XORG= x11 xcursor xext xfixes xft xinerama xrender
|
||||||
MAKEFILE= makefile
|
MAKEFILE= makefile
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
@${REINPLACE_CMD} -e \
|
@${REINPLACE_CMD} -e \
|
||||||
's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/geoid.cxx
|
's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/geoid.cxx
|
||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
${INSTALL_PROGRAM} ${WRKSRC}/geoid ${STAGEDIR}${PREFIX}/bin
|
${INSTALL_PROGRAM} ${WRKSRC}/geoid ${STAGEDIR}${PREFIX}/bin
|
||||||
|
|
|
@ -13,3 +13,12 @@
|
||||||
exit(0);
|
exit(0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -46,7 +44,7 @@ int main(int argc, char **argv) {
|
||||||
|
|
||||||
|
void About()
|
||||||
|
{
|
||||||
|
- fl_message("Geodetic computer\nVersion: "VERSION"\nDave Freese\nw1hkj@@w1hkj.com");
|
||||||
|
+ fl_message("Geodetic computer\nVersion: " VERSION "\nDave Freese\nw1hkj@@w1hkj.com");
|
||||||
|
}
|
||||||
|
|
||||||
|
void cbSaveQTH()
|
||||||
|
|
Loading…
Add table
Reference in a new issue