aboutsummaryrefslogblamecommitdiffstats
path: root/misc/wmweather/Makefile
blob: 80df7eb398313c2b1d4dd640c175d2dcebd78eb5 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                      

                                                                        
           
 
                         
                 
                                
                                                       
 
                                
                                                                                 
 
                                           
                                          
 
                                                           
                   
                                                          
                                         
                   
                   
                   
                   
 
                           
           



                                                                                                                      
                      
# New ports collection makefile for:    wmWeather-1.28
# Date created:     26 January 1998
# Whom:         Kris Kennaway <kkennawa@physics.adelaide.edu.au>
#
# $FreeBSD$

PORTNAME=   wmweather
PORTVERSION=    2.4.3
PORTREVISION=   1
CATEGORIES= misc windowmaker
MASTER_SITES=   http://www.godisch.de/debian/wmweather/

MAINTAINER= kris@FreeBSD.org
COMMENT=    A WMaker dockapp which displays meteorological data for your city

LIB_DEPENDS=    curl.4:${PORTSDIR}/ftp/curl
BUILD_DEPENDS=  xmessage:${X_CLIENTS_PORT}
RUN_DEPENDS=    xmessage:${X_CLIENTS_PORT}

CFLAGS+=    -I${LOCALBASE}/include -I${X11BASE}/include
GNU_CONFIGURE=  yes
CONFIGURE_ENV+= LIBS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
WRKSRC=     ${WRKDIR}/${DISTNAME}/src
USE_GMAKE=  yes
USE_GETOPT_LONG=yes
USE_X_PREFIX=   yes
USE_XPM=    yes

MAN1=       wmweather.1

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/wmweather ${PREFIX}/bin/
    ${LN} ${PREFIX}/bin/wmweather ${PREFIX}/bin/wmWeather
    ${INSTALL_MAN} ${WRKSRC}/wmweather.1 ${PREFIX}/man/man1/
    ${INSTALL_DATA} -m 644 ${WRKSRC}/wmweather.conf ${PREFIX}/etc/wmweather.conf.sample
    test -f ${PREFIX}/etc/wmweather.conf || ${CP} ${PREFIX}/etc/wmweather.conf.sample ${PREFIX}/etc/wmweather.conf

.include <bsd.port.mk>