1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00
freebsd-ports/astro/pp3/Makefile
Hiroki Sato 4e09def2d4 Rectify USE_TEX to support both of teTeX and TeXLive.
TEX_DEFAULT:
	A knob to choose teTeX or TeXLive.  One can specify in /etc/make.conf.

USE_TEX:
	A knob for port developers.  Valid keywords are listed in
	bsd.tex.mk.
2013-05-11 17:58:55 +00:00

37 lines
781 B
Makefile

# Created by: ijliao
# $FreeBSD$
PORTNAME= pp3
PORTVERSION= 1.3.3
PORTREVISION= 6
CATEGORIES= astro
MASTER_SITES= SF/${PORTNAME}/PP3/${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Creates celestial charts
USE_BZIP2= yes
USE_TEX= latex
.include <bsd.port.options.mk>
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 ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/WHATSNEW ${DOCSDIR}
.endif
.if ${PORT_OPTIONS:MEXAMPLES}
@${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR}
.endif
.include <bsd.port.mk>