1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00
freebsd-ports/astro/saoimage/Makefile

30 lines
825 B
Makefile

# Created by: Pedro Giffuni <giffunip@asme.org>
# $FreeBSD$
PORTNAME= saoimage
PORTVERSION= 1.35.1
PORTREVISION= 2
CATEGORIES= astro
MASTER_SITES= http://tdc-www.harvard.edu/software/saoimage/
MAINTAINER= ports@FreeBSD.org
COMMENT= Smithsonian Astrophysical Observatory image utility for X
MAKEFILE= makefile
MAKE_ENV= OFLAGS="${CFLAGS}"
ALL_TARGET= ${OPSYS}
USE_XORG= x11
PLIST_FILES= bin/saoimage etc/imtoolrc.sample man/man1/saoimage.1.gz
post-patch:
# MFLAGS is reserved by make
@${REINPLACE_CMD} -e 's|MFLAGS|MYMFLAGS|' ${WRKSRC}/makefile.FreeBSD
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/saoimage ${STAGEDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/imtoolrc ${STAGEDIR}${PREFIX}/etc/imtoolrc.sample
${INSTALL_MAN} ${WRKSRC}/doc/saoimage.man ${STAGEDIR}${MAN1PREFIX}/man/man1/saoimage.1
.include <bsd.port.mk>