openbsd-ports/astro/sattrack/Makefile
2010-10-24 20:58:58 +00:00

35 lines
806 B
Makefile

# $OpenBSD: Makefile,v 1.29 2010/10/24 20:58:58 ajacoutot 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}
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>