1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-18 08:02:48 +00:00
freebsd-ports/science/mol2ps/Makefile
Jose Alonso Cardenas Marquez 0de5507c16 lang/fpc: Fix build issue on lazarus i386 and amd64
- Bump PORTREVISION
- Disable some default OPTIONS
Obtained from:	https://forum.lazarus.freepascal.org/index.php/topic,57752.msg429737.html#msg429737
2022-02-03 00:07:13 -05:00

39 lines
966 B
Makefile

# Created by: Fernan Aguero <fernan@iib.unsam.edu.ar>
PORTNAME= mol2ps
PORTVERSION= 0.4b
PORTREVISION= 10
CATEGORIES= science
MASTER_SITES= https://homepage.univie.ac.at/norbert.haider/download/chemistry/mol2ps/
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>