1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-06 01:57:40 +00:00
freebsd-ports/astro/pp3/Makefile
Emanuel Haupt c764cea29a Fix RUN_DEPENDS (use print/teTeX-base instead of print/teTeX)
PR:		161653
Submitted by:	KATO Tsuguru <tkato432@yahoo.com>
2011-10-18 13:03:38 +00:00

41 lines
860 B
Makefile

# ex:ts=8
# Ports collection makefile for: pp3
# Date created: Dec 24, 2003
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= pp3
PORTVERSION= 1.3.3
PORTREVISION= 5
CATEGORIES= astro
MASTER_SITES= SF/${PORTNAME}/PP3/${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Creates celestial charts
RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX-base
USE_BZIP2= yes
do-build:
cd ${WRKSRC} \
&& ${CXX} ${CXXFLAGS} -DPP3DATA=\"${DATADIR}\" pp3.cc -o pp3
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/pp3 ${PREFIX}/bin
@${MKDIR} ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/*.dat ${DATADIR}
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/WHATSNEW ${DOCSDIR}
.endif
.if !defined(NOPORTEXAMPLES)
@${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR}
.endif
.include <bsd.port.mk>