2012-12-31 14:14:55 +00:00
|
|
|
# Created by: ijliao
|
2003-12-24 07:17:34 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= pp3
|
2004-11-01 17:17:20 +00:00
|
|
|
PORTVERSION= 1.3.3
|
2012-06-01 05:26:28 +00:00
|
|
|
PORTREVISION= 6
|
2003-12-24 07:17:34 +00:00
|
|
|
CATEGORIES= astro
|
2009-08-22 00:13:26 +00:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/PP3/${PORTVERSION}
|
2003-12-24 07:17:34 +00:00
|
|
|
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2004-07-17 16:53:24 +00:00
|
|
|
COMMENT= Creates celestial charts
|
2003-12-24 07:17:34 +00:00
|
|
|
|
2015-11-19 20:48:24 +00:00
|
|
|
LICENSE= MIT
|
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
|
2014-06-01 09:00:15 +00:00
|
|
|
USES= tar:bzip2
|
2013-05-11 17:58:55 +00:00
|
|
|
USE_TEX= latex
|
2003-12-24 07:17:34 +00:00
|
|
|
|
2014-02-21 13:35:03 +00:00
|
|
|
OPTIONS_DEFINE= DOCS EXAMPLES
|
2014-02-10 13:54:26 +00:00
|
|
|
|
2003-12-24 07:17:34 +00:00
|
|
|
do-build:
|
2014-06-01 09:00:15 +00:00
|
|
|
(cd ${WRKSRC} \
|
|
|
|
&& ${CXX} ${CXXFLAGS} -DPP3DATA=\"${DATADIR}\" pp3.cc -o pp3)
|
2003-12-24 07:17:34 +00:00
|
|
|
|
|
|
|
do-install:
|
2014-01-02 09:28:32 +00:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/pp3 ${STAGEDIR}${PREFIX}/bin
|
|
|
|
@${MKDIR} ${STAGEDIR}${DATADIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/*.dat ${STAGEDIR}${DATADIR}
|
2015-11-19 20:48:24 +00:00
|
|
|
|
|
|
|
do-install-DOCS-on:
|
2014-01-02 09:28:32 +00:00
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/WHATSNEW ${STAGEDIR}${DOCSDIR}
|
2015-11-19 20:48:24 +00:00
|
|
|
|
|
|
|
do-install-EXAMPLES-on:
|
2014-01-02 09:28:32 +00:00
|
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}
|
2003-12-24 07:17:34 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|