1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-24 21:01:20 +00:00
freebsd-ports/biology/xdrawchem/Makefile
Will Andrews dbba8af644 Overhaul QT/KDE support:
- bsd.port.mk update to use bsd.kde.mk for USE_{QT,KDE}*
- Cleanup corresponding ports for bsd.kde.mk update.
- Fix bsd.kde.mk: use correct kdelibs dependency, put qt at the bottom,
  introduce QT_NONSTANDARD variable for nonstandard configure setup.
- Update KDE2 to 2.1.1.  Two patches included in x11/kdelibs2 to fix the
  proxy authentication that was broken for 2.1.1.  Remove old patches.
- Potentially fix kdelibs build for alpha.
- Fix qt-designer 2.3.0 build.
- Ruby stuff left alone since it looks like black magic to me.  Should
  still work w/ compat shims for older USE_QT[,2] style.  Some others
  were also left alone for the same reason.

Reviewed by:	portmgr, ports (bsd.kde.mk+bsd.port.mk)
Submitted by:	David Faure <faure@kde.org> (proxy auth patches)
		Alex Zepeda <garbanzo@kde.org> (old patches removal)
2001-04-03 08:14:43 +00:00

41 lines
962 B
Makefile

# New ports collection makefile for: xdrawchem
# Date created: 13 April 2000
# Whom: Trevor Johnson <trevor@jpj.net>
#
# $FreeBSD$
#
PORTNAME= xdrawchem
PORTVERSION= 0.85
CATEGORIES= biology
MASTER_SITES= http://www.prism.gatech.edu/~gte067k/xdrawchem/
EXTRACT_SUFX= .tgz
MAINTAINER= trevor@FreeBSD.org
MAKE_ENV= CXX="${CXX}" CXXFLAGS="${CXXFLAGS}" QTDIR="${X11BASE}"
PLIST= ${WRKDIR}/pkg-plist
USE_GMAKE= yes
USE_QT_VER= 2
USE_X_PREFIX= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:S/a//}
.include <bsd.port.pre.mk>
.if ${MACHINE_ARCH} == "alpha"
CFLAGS+= -O0
.endif
pre-install:
${ECHO} bin/xdrawchem > ${PLIST}
cd ${WRKSRC}/ring && find -s . -type f | \
${SED} -e 's:^.:share/xdrawchem:' >> ${PLIST}
${ECHO} @dirrm share/xdrawchem >> ${PLIST}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/xdrawchem ${PREFIX}/bin
@${MKDIR} ${PREFIX}/share/xdrawchem
${INSTALL_DATA} ${WRKSRC}/ring/* ${PREFIX}/share/xdrawchem
.include <bsd.port.post.mk>