freebsd-ports/astro/fowsr/Makefile
Alexander Leidinger e3ea420424 Remove BROKEN, the Makefile revision which triggered the addition was
older than the revision which got the BROKEN-mark. This should build
on sparc64 (all other osversions and architectures which exhibited the
same error do not show this error anymore as of this writting).

Discussed with:	linimon
2010-09-27 10:10:45 +00:00

46 lines
982 B
Makefile

# ports collection makefile for: fowsr
# Date created: 01 Sep 2010
# Whom: 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
FILEVER= 1.0
FILEDATE= 20100718
WRKSRC= ${WRKDIR}/${PORTNAME}-${FILEVER}
LICENSE= GPLv3
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.pre.mk>
.if ${OSVERSION} < 800069
LIB_DEPENDS+= usb:${PORTSDIR}/devel/libusb
CFLAGS+= -I${PREFIX}/include
LDFLAGS+= "-L${PREFIX}/lib"
MAKE_ENV+= "LDFLAGS=${LDFLAGS}"
.endif
.include <bsd.port.post.mk>