pkgsrc/devel/ratfor/Makefile
jlam 4c8382aec0 Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
2008-03-03 17:45:33 +00:00

24 lines
669 B
Makefile

# $NetBSD: Makefile,v 1.14 2008/03/03 17:45:37 jlam Exp $
DISTNAME= ratfor77
PKGNAME= ratfor-1.0
PKGREVISION= 1
CATEGORIES= devel
MASTER_SITES= http://sepwww.stanford.edu/ftp/sep-distr/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://sepwww.stanford.edu/software/ratfor.html
COMMENT= Preprocessor for the Ratfor dialect of Fortran
PKG_DESTDIR_SUPPORT= user-destdir
BUILD_TARGET= ratfor77
USE_TOOLS+= gmake
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/ratfor77 ${DESTDIR}${PREFIX}/bin/ratfor
${INSTALL_MAN} ${WRKSRC}/ratfor.man \
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/ratfor.1
.include "../../mk/bsd.pkg.mk"