2003-12-24 07:17:34 +00:00
|
|
|
# ex:ts=8
|
|
|
|
# Ports collection makefile for: pp3
|
|
|
|
# Date created: Dec 24, 2003
|
|
|
|
# Whom: ijliao
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= pp3
|
2004-11-01 17:17:20 +00:00
|
|
|
PORTVERSION= 1.3.3
|
2011-05-02 12:44:53 +00:00
|
|
|
PORTREVISION= 4
|
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
|
|
|
|
|
|
|
RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX
|
|
|
|
|
|
|
|
USE_BZIP2= yes
|
|
|
|
|
|
|
|
do-build:
|
2004-11-01 17:17:20 +00:00
|
|
|
cd ${WRKSRC} \
|
|
|
|
&& ${CXX} ${CXXFLAGS} -DPP3DATA=\"${DATADIR}\" pp3.cc -o pp3
|
2003-12-24 07:17:34 +00:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/pp3 ${PREFIX}/bin
|
|
|
|
@${MKDIR} ${DATADIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/*.dat ${DATADIR}
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
2004-11-01 17:17:20 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/WHATSNEW ${DOCSDIR}
|
2003-12-24 07:17:34 +00:00
|
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR}
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|