/etc/make.conf - Add FPC_LDPATH to freepascal compiler. By default it is defined to %%LOCALBASE%%/bin/ld.bfd but it can be changed setting FPC_LDPATH environment variable - Remove compatX dependencies from bootstrap and compiler. It could fix problems when GENERIC kernel is not used [1] - Rebuild bootstrap (ppcx64 and ppc386) with new changes - Bump PORTREVISION PR: 239135 Submitted by: fbsdbugs4 __at__ sentry.org
39 lines
972 B
Makefile
39 lines
972 B
Makefile
# Created by: Fernan Aguero <fernan@iib.unsam.edu.ar>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= mol2ps
|
|
PORTVERSION= 0.4b
|
|
PORTREVISION= 5
|
|
CATEGORIES= science
|
|
MASTER_SITES= http://merian.pch.univie.ac.at/pch/download/chemistry/${PORTNAME}/
|
|
DISTNAME= ${PORTNAME}
|
|
EXTRACT_SUFX= .pas
|
|
DIST_SUBDIR= ${PORTNAME}-${PORTVERSION}
|
|
|
|
MAINTAINER= acm@FreeBSD.org
|
|
COMMENT= Read molecular structure files and generate Postscript output
|
|
|
|
LICENSE= GPLv2+
|
|
|
|
NO_WRKSUBDIR= yes
|
|
|
|
EXTRACT_CMD= ${CP}
|
|
EXTRACT_BEFORE_ARGS= #
|
|
EXTRACT_AFTER_ARGS= ${WRKSRC}
|
|
|
|
USES= fpc
|
|
USE_FPC= rtl-objpas
|
|
|
|
PLIST_FILES= bin/mol2eps bin/mol2ps bin/mol2svg %%DATADIR%%/color.conf
|
|
|
|
do-build:
|
|
(cd ${WRKSRC} && ${LOCALBASE}/bin/fpc mol2ps -S2 -O3)
|
|
|
|
do-install:
|
|
(cd ${WRKSRC} && ${INSTALL_PROGRAM} mol2ps ${STAGEDIR}${PREFIX}/bin)
|
|
(cd ${STAGEDIR}${PREFIX}/bin && \
|
|
${LN} mol2ps mol2eps && ${LN} mol2ps mol2svg)
|
|
@${MKDIR} ${STAGEDIR}${DATADIR}
|
|
(cd ${FILESDIR} && ${INSTALL_DATA} color.conf ${STAGEDIR}${DATADIR})
|
|
|
|
.include <bsd.port.mk>
|