53 lines
1.3 KiB
Makefile
53 lines
1.3 KiB
Makefile
# $OpenBSD: Makefile,v 1.10 2013/03/11 01:30:27 espie Exp $
|
|
|
|
COMMENT= radio contest logger
|
|
|
|
DISTNAME= tlf-0.9.30
|
|
REVISION= 1
|
|
CATEGORIES= comms hamradio
|
|
|
|
HOMEPAGE= http://home.iae.nl/users/reinc/TLF-0.2.html
|
|
|
|
MASTER_SITES= http://sharon.esrac.ele.tue.nl/pub/linux/ham/tlf/ \
|
|
http://www.wwns.com/tlf/
|
|
|
|
CONFIGURE_STYLE=autoheader gnu
|
|
|
|
# License: GPL
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
WANTLIB= hamlib>=2 ncurses pthread ossaudio c m
|
|
|
|
SOME_LD_FLAGS= -lossaudio
|
|
SOME_CPP_FLAGS=
|
|
|
|
AUTOCONF_VER= 2.59
|
|
AUTOMAKE_VER= 1.9
|
|
|
|
BUILD_DEPENDS= devel/automake/${AUTOMAKE_VER} \
|
|
devel/autoconf/${AUTOCONF_VER}
|
|
|
|
|
|
CONFIGURE_ARGS+=--enable-hamlib
|
|
LIB_DEPENDS= comms/hamlib
|
|
SOME_CPP_FLAGS += -I${LOCALBASE}/include
|
|
SOME_LD_FLAGS += -L${LOCALBASE}/lib
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="${SOME_CPP_FLAGS}" \
|
|
LDFLAGS="${SOME_LD_FLAGS}" \
|
|
AUTOMAKE_VERSION=${AUTOMAKE_VER} \
|
|
AUTOCONF_VERSION=${AUTOCONF_VER}
|
|
USE_GROFF = Yes
|
|
|
|
pre-configure:
|
|
cd $(WRKSRC) && env AUTOCONF_VERSION=$(AUTOCONF_VER) \
|
|
AUTOMAKE_VERSION=$(AUTOMAKE_VER) aclocal
|
|
cd $(WRKSRC) && env AUTOCONF_VERSION=$(AUTOCONF_VER) \
|
|
AUTOMAKE_VERSION=$(AUTOMAKE_VER) automake --add-missing
|
|
cd $(WRKSRC) && env AUTOCONF_VERSION=$(AUTOCONF_VER) \
|
|
AUTOMAKE_VERSION=$(AUTOMAKE_VER) autoconf
|
|
cd $(WRKSRC) && env AUTOCONF_VERSION=$(AUTOCONF_VER) \
|
|
AUTOMAKE_VERSION=$(AUTOMAKE_VER) autoheader
|
|
|
|
.include <bsd.port.mk>
|