openbsd-ports/astro/sattrack/Makefile
jasper 0fc8bd8d26 - switch to newstyle LIB_DEPENDS/WANTLIB
- switch to SUBST_CMD (sattrack)

ok aja@
2010-08-26 11:12:46 +00:00

36 lines
816 B
Makefile

# $OpenBSD: Makefile,v 1.28 2010/08/26 11:12:46 jasper Exp $
V= 3.1.6
COMMENT= real-time satellite tracking and orbit propagation program
DISTNAME= sattrack-${V}
CATEGORIES= astro
# Commercial License
PERMIT_PACKAGE_CDROM= May not be bundled, according to copyright
PERMIT_PACKAGE_FTP= May not distribute modified version
PERMIT_DISTFILES_CDROM= May not be bundled, according to copyright
PERMIT_DISTFILES_FTP= Yes
REVISION = 4
WANTLIB= ICE SM X11 Xt c m
FAKE_FLAGS= PREFIX=${WRKINST}${PREFIX}
USE_X11= Yes
WRKDIST= ${WRKDIR}/SatTrack-${V}
WRKSRC= ${WRKDIST}/src
pre-configure:
${SUBST_CMD} ${WRKDIST}/run/getsts \
${WRKDIST}/run/gettle
post-install:
chown -R ${SHAREOWN}:${SHAREGRP} \
${PREFIX}/lib/SatTrack/{data,pred,tle} \
${PREFIX}/share/doc/SatTrack
NO_REGRESS= Yes
.include <bsd.port.mk>