freebsd-ports/biology/rasmol/Makefile
Dmitry Marakasov 33e3d901d4 Convert most of remaining ports that depend on xorg-libraries to
modular xorg.

- supply corresponding USE_XORG for all imake-using ports that need it
- USE_IMAKE no longer implies USE_XLIB in absence of USE_XORG
- retire USE_X_PREFIX which is not really used anywhere after the
  above change
- a few minor nits like whitespace and SF macro

Tested by:	2 tinderbox runs by pav
Approved by:	portmgr (pav)
2009-06-09 15:33:28 +00:00

47 lines
1.2 KiB
Makefile

# New ports collection Makefile for: rasmol
# Date created: Dec 4 1997
# Whom: frankch@waru.life.nthu.edu.tw
#
# $FreeBSD$
#
PORTNAME= rasmol
PORTVERSION= 2.7.2.1.1
PORTREVISION= 3
CATEGORIES= biology
MASTER_SITES= ftp://ftp.bernstein-plus-sons.com/software/
DISTNAME= RasMol_${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Fast Molecular Visualization Program
WRKSRC= ${WRKDIR}/RasMol_${PORTVERSION}/src
USE_IMAKE= yes
USE_XORG= x11 xext xi
MANCOMPRESSED= no
XFREE86_HTML_MAN= no
MAN1= rasmol.1
PLIST_FILES= bin/rasmol bin/rasmol-16 bin/rasmol-32 bin/rasmol-8 \
lib/X11/rasmol/1crn.pdb lib/X11/rasmol/3cro.pdb \
lib/X11/rasmol/rasmol.hlp
PLIST_DIRS= lib/X11/rasmol
.include <bsd.port.pre.mk>
do-build:
${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/build_viewer
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/rasmol-* ${PREFIX}/bin
${INSTALL_SCRIPT} ${FILESDIR}/rasmol ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/rasmol.man ${MANPREFIX}/man/man1/rasmol.1
${MKDIR} ${PREFIX}/lib/X11/rasmol
${INSTALL_DATA} ${WRKSRC}/rasmol.hlp ${PREFIX}/lib/X11/rasmol
${INSTALL_DATA} ${WRKSRC}/../data/1crn.pdb ${PREFIX}/lib/X11/rasmol
${INSTALL_DATA} ${WRKSRC}/../data/3cro.pdb ${PREFIX}/lib/X11/rasmol
.include <bsd.port.post.mk>