freebsd-ports/astro/fowsr/Makefile
Rene Ladan 4e4178dab5 In preparation of removing devel/libusb (expires 2013-04-30), remove it
from these ports.

Other changes:
- convert Makefile header
- convert to optionsNG
- remove indefinite article from comment
- drop support for FreeBSD < 8.0
- pet portlint (leave library ABI versions in LIB_DEPENDS)
- net-mgmt/spectools: change option name from GTK to GTK2 to use default
  description from bsd.options.desc.mk

Approved by:	portmgr (bapt)
2013-04-29 16:43:05 +00:00

34 lines
695 B
Makefile

# Created by: Alexander Leidinger
# $FreeBSD$
PORTNAME= fowsr
PORTVERSION= ${FILEVER}.${FILEDATE}
CATEGORIES= astro
MASTER_SITES= GOOGLE_CODE
DISTNAME= fowsr-${FILEVER}-${FILEDATE}
MAINTAINER= netchild@FreeBSD.org
COMMENT= Fine Offset Weather Station Reader
LICENSE= GPLv3
FILEVER= 1.0
FILEDATE= 20100718
WRKSRC= ${WRKDIR}/${PORTNAME}-${FILEVER}
USE_GMAKE= yes
MAKE_JOBS_SAFE= yes
PLIST_FILES= bin/fowsr
USE_DOS2UNIX= yes
post-patch:
${REINPLACE_CMD} 's:gcc:${CC}:g' ${WRKSRC}/Makefile
${REINPLACE_CMD} 's:/usr/bin/fowsr:fowsr:g ; s://var//://var/tmp//:g' \
${WRKSRC}/*.sh ${WRKSRC}/fowsr.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/fowsr ${PREFIX}/bin/
.include <bsd.port.mk>