mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-11 07:22:22 +00:00
o Fixed dependencies and the pkg-plist.
o Also added a configuration example for a METAR station, radar and a weather forecast. o Bump PORTREVISION accordingly. PR: ports/50853 Submitted by: Wille Harald <harald.wille@students.jku.at> (maintainer)
This commit is contained in:
parent
d62fee81b4
commit
ae9a723b27
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=78808
@ -6,6 +6,7 @@
|
||||
|
||||
PORTNAME= wmweather+
|
||||
PORTVERSION= 2.4
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= misc windowmaker
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= wmweatherplus
|
||||
@ -13,8 +14,22 @@ MASTER_SITE_SUBDIR= wmweatherplus
|
||||
MAINTAINER= harald.wille@students.jku.at
|
||||
COMMENT= Think wmweather with forecasts, weather map, and a sky cond. display
|
||||
|
||||
LIB_DEPENDS= www[a-z]+:${PORTSDIR}/www/libwww \
|
||||
xmltok:${PORTSDIR}/www/libwww \
|
||||
xmlparse:${PORTSDIR}/www/libwww \
|
||||
wraster:${PORTSDIR}/x11-wm/windowmaker \
|
||||
pcre:${PORTSDIR}/devel/pcre \
|
||||
Xpm:${PORTSDIR}/graphics/xpm \
|
||||
tiff:${PORTSDIR}/graphics/tiff \
|
||||
Hermes:${PORTSDIR}/graphics/Hermes \
|
||||
png:${PORTSDIR}/graphics/png \
|
||||
jpeg:${PORTSDIR}/graphics/jpeg \
|
||||
ungif:${PORTSDIR}/graphics/libungif \
|
||||
iconv:${PORTSDIR}/converters/libiconv
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
USE_X_PREFIX= yes
|
||||
USE_XLIB= yes
|
||||
USE_XPM= yes
|
||||
|
||||
MAN1= wmweather+.1
|
||||
@ -23,4 +38,18 @@ do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/wmweather+ ${PREFIX}/bin
|
||||
${INSTALL_MAN} ${WRKSRC}/wmweather+.1 ${PREFIX}/man/man1
|
||||
|
||||
post-install:
|
||||
${MKDIR} ${EXAMPLESDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/example.conf ${EXAMPLESDIR}/example.conf
|
||||
|
||||
@${ECHO} ""
|
||||
@${ECHO} "================================================="
|
||||
@${ECHO} "Sample configuration file has been copied to"
|
||||
@${ECHO} "${EXAMPLESDIR}/example.conf"
|
||||
@${ECHO} ""
|
||||
@${ECHO} "Please copy it to your homedir into .wmweather+"
|
||||
@${ECHO} "as conf and adjust it to your needs!"
|
||||
@${ECHO} "================================================="
|
||||
@${ECHO} ""
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1 +1,3 @@
|
||||
bin/wmweather+
|
||||
%%EXAMPLESDIR%%/example.conf
|
||||
@dirrm %%EXAMPLESDIR%%
|
||||
|
Loading…
Reference in New Issue
Block a user