diff --git a/databases/fpc-mysql/Makefile b/databases/fpc-mysql/Makefile index 0d7289cf2d56..3bf401f20996 100644 --- a/databases/fpc-mysql/Makefile +++ b/databases/fpc-mysql/Makefile @@ -1,20 +1,19 @@ # Created by: John Merryweather Cooper CATEGORIES= databases lang PKGNAMESUFFIX= -mysql COMMENT= Free Pascal interface to MySQL USES= fpc MASTERDIR= ${.CURDIR}/../../lang/fpc WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//} EXTRACTUNITDIR= ${WRKUNITDIR} OPTIONS_DEFINE= MYSQL MYSQL_DESC= Install MySQL client -OPTIONS_DEFAULT= MYSQL MYSQL_USES= mysql .include "${MASTERDIR}/Makefile" diff --git a/databases/fpc-postgres/Makefile b/databases/fpc-postgres/Makefile index 3bd71d124b1a..3c9652ffedeb 100644 --- a/databases/fpc-postgres/Makefile +++ b/databases/fpc-postgres/Makefile @@ -1,20 +1,19 @@ # Created by: John Merryweather Cooper et al CATEGORIES= databases lang PKGNAMESUFFIX= -postgres COMMENT= Free Pascal interface to PostGreSQL USES= fpc MASTERDIR= ${.CURDIR}/../../lang/fpc WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//} EXTRACTUNITDIR= ${WRKUNITDIR} OPTIONS_DEFINE= PGSQL PGSQL_DESC= Install PostgreSQL client -OPTIONS_DEFAULT= PGSQL PGSQL_USES= pgsql .include "${MASTERDIR}/Makefile" diff --git a/databases/fpc-sqlite/Makefile b/databases/fpc-sqlite/Makefile index a5aba95c0beb..eacfa3a049b1 100644 --- a/databases/fpc-sqlite/Makefile +++ b/databases/fpc-sqlite/Makefile @@ -1,17 +1,16 @@ CATEGORIES= databases lang PKGNAMESUFFIX= -sqlite COMMENT= Free Pascal interface to SQLite USES= fpc MASTERDIR= ${.CURDIR}/../../lang/fpc WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//} EXTRACTUNITDIR= ${WRKUNITDIR} OPTIONS_DEFINE= SQLITE -OPTIONS_DEFAULT= SQLITE SQLITE_USES= sqlite .include "${MASTERDIR}/Makefile" diff --git a/games/hedgewars/Makefile b/games/hedgewars/Makefile index 7f94682f8dda..b30a4292b87f 100644 --- a/games/hedgewars/Makefile +++ b/games/hedgewars/Makefile @@ -1,73 +1,73 @@ PORTNAME= hedgewars PORTVERSION= 1.0.0 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= games MASTER_SITES= http://www.hedgewars.org/download/releases/ \ http://mirror.amdmi3.ru/distfiles/ DISTNAME= ${PORTNAME}-src-${DISTVERSION} MAINTAINER= amdmi3@FreeBSD.org COMMENT= Free Worms-like turn based strategy game LICENSE= GPLv2 GFDL LICENSE_COMB= multi BROKEN_i386= ld: error: duplicate symbol: LandDirty_dimension_info LIB_DEPENDS= libphysfs.so:devel/physfs \ libpng.so:graphics/png USES= cmake:noninja desktop-file-utils fpc gl lua:51 pkgconfig qt:5 \ sdl tar:bzip2 USE_SDL= sdl2 mixer2 image2 ttf2 net2 USE_FPC= opengl libpng rtl-objpas rtl-extra USE_QT= core gui widgets network \ qmake_build buildtools_build \ linguisttools_build USE_GL= gl glu USE_LDCONFIG= yes CMAKE_ON= NOSERVER PLIST_FILES= bin/${PORTNAME} bin/hwengine \ share/appdata/hedgewars.appdata.xml \ share/applications/${PORTNAME}.desktop \ share/pixmaps/${PORTNAME}.png \ share/pixmaps/${PORTNAME}.xpm \ lib/libphyslayer.so \ lib/libphyslayer.so.1.0 PORTDATA= * USE_LOCALE= en_US.UTF-8 MAKE_ENV= LOCALBASE="${LOCALBASE}" # fpc issue https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251712 CONFIGURE_ENV= LOCALBASE="${LOCALBASE}" # fpc issue https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251712 OPTIONS_DEFINE= VIDEOREC OPTIONS_DEFAULT=VIDEOREC OPTIONS_EXCLUDE_i386= VIDEOREC # some pascal issues preventing to use it VIDEOREC_DESC= Enable video recording (requires ffmpeg) VIDEOREC_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg VIDEOREC_PLIST_FILES= lib/libavwrapper.so \ lib/libavwrapper.so.1.0 VIDEOREC_CMAKE_OFF= -DNOVIDEOREC=1 .include .if ${ARCH} == i386 BUILD_DEPENDS+= ghc:lang/ghc .endif post-patch: @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/cmake_modules/*.cmake @${REINPLACE_CMD} -e "s|'liblua'|'liblua-${LUA_VER}'|" ${WRKSRC}/hedgewars/LuaPas.pas @${REINPLACE_CMD} -e "/linklib/ s|lua|&-${LUA_VER}|" ${WRKSRC}/hedgewars/LuaPas.pas post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/* ${INSTALL_DATA} ${WRKSRC}/share/hedgewars/Data/misc/hedgewars.desktop \ ${STAGEDIR}${PREFIX}/share/applications/ ${INSTALL_DATA} ${WRKSRC}/misc/hedgewars.png \ ${STAGEDIR}${PREFIX}/share/pixmaps/ .include diff --git a/lang/fpc/Makefile b/lang/fpc/Makefile index ca156b85ee75..b64e3d709aa0 100644 --- a/lang/fpc/Makefile +++ b/lang/fpc/Makefile @@ -1,194 +1,194 @@ # Created by: John Merryweather Cooper et al PORTNAME= fpc PORTVERSION= 3.2.2 -PORTREVISION?= 0 +PORTREVISION?= 1 CATEGORIES?= lang MASTER_SITES= ftp://ftp.freepascal.org/pub/fpc/dist/${PORTVERSION}/source/:source \ ftp://planetmirror.com/pub/fpc/dist/${PORTVERSION}/source/:source \ ftp://ftp.jp.freepascal.org/mirror/fpc/dist/${PORTVERSION}/source/:source \ ftp://freepascal.stack.nl/pub/fpc/dist/${PORTVERSION}/source/:source \ ftp://ftp.no.freepascal.org/pub/fpc/dist/${PORTVERSION}/source/:source \ ftp://ftp.us.freepascal.org/pub/fpc/dist/${PORTVERSION}/source/:source \ SF/freepascal/Source/${PORTVERSION}:source \ http://leaf.dragonflybsd.org/~marino/dports-src/:DragonFlybootstrap \ LOCAL/acm/freepascal/:bootstrap \ LOCAL/acm/freepascal/:man DISTFILES= ${DISTNAME:S/$/.source/}${EXTRACT_SUFX}:source DIST_SUBDIR= freepascal MAINTAINER?= acm@FreeBSD.org COMMENT?= Free Pascal compiler with Turbo and Delphi RUN_DEPENDS?= ${LOCALBASE}/bin/as:devel/binutils ONLY_FOR_ARCHS= amd64 i386 USES+= gmake iconv USE_BINUTILS= yes BOOTVER= 3.0.4 MANVER= ${PORTVERSION} FPC_LDPATH?= "${LOCALBASE}/bin/ld.bfd" #USE_GITHUB= yes #GH_ACCOUNT= fpc-svn #GH_PROJECT= fpc FPCSRCDIR= ${PORTNAME}-${PORTVERSION} .include .if ${ARCH} == "i386" PPNAME= ppc386 FPC_ARCH= i386 PLIST_SUB+= FPC_I386="" \ FPC_AMD64="@comment " .elif ${ARCH} == "amd64" PPNAME= ppcx64 FPC_ARCH= x86_64 PLIST_SUB+= FPC_I386="@comment " \ FPC_AMD64="" .endif .if ${OPSYS} == FreeBSD PLIST_SUB+= FREEBSD="" .else PLIST_SUB+= FREEBSD="@comment " .endif .if !defined(PKGNAMESUFFIX) SUB_FILES= pkg-message BUILDNAME= ${FPC_ARCH}-${OPSYS:tl} PLIST_SUB+= PORTVERSION=${PORTVERSION} \ BUILDNAME=${BUILDNAME} DISTFILES+= ${BOOTDIR}.tar.gz:${OPSYS:MDragonFly}bootstrap \ fpc-${MANVER}.man.tar.gz:man NEWFPCMAKE= ${WRKDIR}/${FPCSRCDIR}/utils/fpcm/bin/${BUILDNAME}/fpcmake MAKE_ARGS+= FPCMAKE=${NEWFPCMAKE} \ FPCTARGET=${BUILDNAME} \ ARCH=${FPC_ARCH} \ OPT="${OPT}" \ BSDHIER=1 \ INSTALL="${INSTALL_DATA}" \ INSTALLEXE="${INSTALL_PROGRAM}" \ INSTALLSCR="${INSTALL_SCRIPT}" \ INSTALL_PREFIX=${STAGEDIR}${PREFIX} \ FPC_LDPATH=${FPC_LDPATH} NEWPPC= PP=${WRKSRC}/compiler/${PPNAME} NEWFPC= FPC=${WRKSRC}/compiler/${PPNAME} BOOTDIR= ${PPNAME}-${BOOTVER}-${OPSYS:tl} BOOTPPC= PP=${WRKDIR}/${BOOTDIR} do-extract: # unpack binary distribution @${MKDIR} ${WRKDIR} @${TAR} -xzf ${_DISTDIR}/${BOOTDIR}.tar.gz \ --directory ${WRKDIR} && ${CHMOD} +x ${WRKDIR}/${BOOTDIR} # unpack man files @${TAR} -xzf ${_DISTDIR}/fpc-${MANVER}.man.tar.gz --directory ${WRKDIR} # unpack source distribution @(cd ${WRKDIR} && ${GZIP_CMD} -dc \ ${_DISTDIR}/${DISTNAME:S/$/.source/}${EXTRACT_SUFX} | \ ${TAR} -xf - \ ${FPCSRCDIR}/compiler \ ${FPCSRCDIR}/rtl \ ${FPCSRCDIR}/utils/fpcmkcfg \ ${FPCSRCDIR}/packages/fcl-base \ ${FPCSRCDIR}/packages/fcl-process \ ${FPCSRCDIR}/packages/fcl-res \ ${FPCSRCDIR}/packages/fpmkunit \ ${FPCSRCDIR}/packages/hash \ ${FPCSRCDIR}/packages/libtar \ ${FPCSRCDIR}/packages/paszlib \ ${FPCSRCDIR}/packages/rtl-objpas \ ${FPCSRCDIR}/packages/tplylib \ ${FPCSRCDIR}/utils/fpcm) post-patch: .if ${OPSYS} == FreeBSD @${REINPLACE_CMD} -i "" -e 's|900044|${OSVERSION}|g' \ ${WRKSRC}/rtl/freebsd/${FPC_ARCH}/*.as .else @${REINPLACE_CMD} -i "" -e 's|400000|${DFLYVERSION}|g' \ ${WRKSRC}/rtl/dragonfly/${FPC_ARCH}/*.as .endif .if empty(ICONV_LIB) @${REINPLACE_CMD} -e "s|s<>'c'|(s<>'c') and (s<>'iconv')|" \ -e "s|%%FPC_LDPATH%%|${FPC_LDPATH}|g" \ ${WRKDIR}/${FPCSRCDIR}/compiler/systems/t_bsd.pas @${REINPLACE_CMD} -e 's|defined(bsd) and not ||' \ ${WRKDIR}/${FPCSRCDIR}/rtl/unix/cwstring.pp .endif @${REINPLACE_CMD} -e '/samplecfg/ {s/INSTALLEXE/INSTALLSCR/;}' \ ${WRKDIR}/${FPCSRCDIR}/compiler/Makefile @${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|g' \ ${WRKDIR}/${FPCSRCDIR}/packages/fpmkunit/src/fpmkunit.pp do-build: # build fpc compiler @${ECHO_MSG} "##### STARTING COMPILER #####" (cd ${WRKDIR}/${FPCSRCDIR}/compiler && ${SETENV} ${MAKE_ENV} \ ${MAKE_CMD} cycle ${MAKE_ARGS} ${BOOTPPC}) @${ECHO_MSG} "##### COMPLETE COMPILER #####" # build fpcmkcfg @${ECHO_MSG} "##### STARTING BOOTSTRAP FPMKUNIT #####" (cd ${WRKDIR}/${FPCSRCDIR}/packages/fpmkunit && ${SETENV} \ ${MAKE_ENV} ${MAKE_CMD} bootstrap ${MAKE_ARGS} ${NEWPPC}) @${ECHO_MSG} "##### COMPLETE BOOTSTRAP FPMKUNIT #####" .for component in rtl-objpas fcl-base tplylib fcl-res @${ECHO_MSG} "##### STARTING ${component:tu} #####" (cd ${WRKDIR}/${FPCSRCDIR}/packages/${component} && \ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${NEWPPC}) @${ECHO_MSG} "##### COMPLETE ${component:tu} #####" .endfor @${ECHO_MSG} "##### STARTING FPMAKE #####" (cd ${WRKDIR}/${FPCSRCDIR}/utils/fpcm && ${SETENV} \ ${MAKE_ENV} ${MAKE_CMD} release ${MAKE_ARGS} ${NEWPPC}) @${ECHO_MSG} "##### COMPLETE FPMAKE #####" .for component in hash paszlib libtar fcl-process fpmkunit @${ECHO_MSG} "##### STARTING ${component:tu} #####" (cd ${WRKDIR}/${FPCSRCDIR}/packages/${component} && ${SETENV} \ ${MAKE_ENV} ${MAKE_CMD} release ${MAKE_ARGS} ${NEWPPC}) @${ECHO_MSG} "##### COMPLETE ${component:tu} #####" .endfor @${ECHO_MSG} "##### STARTING FPCMKCFG #####" (cd ${WRKDIR}/${FPCSRCDIR}/utils/fpcmkcfg && ${SETENV} \ ${MAKE_ENV} ${MAKE_CMD} release ${MAKE_ARGS} ${NEWPPC}) @${ECHO_MSG} "##### COMPLETE FPCMKCFG #####" do-install: # Installing fpc compiler (cd ${WRKDIR}/${FPCSRCDIR}/rtl && ${SETENV} ${MAKE_ENV} \ ${MAKE_CMD} install ${MAKE_ARGS} ${NEWFPC}) # Installing fpc runtime (cd ${WRKDIR}/${FPCSRCDIR}/compiler && ${SETENV} ${MAKE_ENV} \ ${MAKE_CMD} install ${MAKE_ARGS} ${NEWFPC}) # Installing fpmkunit and its dependencies .for component in hash paszlib libtar fcl-process fpmkunit (cd ${WRKDIR}/${FPCSRCDIR}/packages/${component} && ${SETENV} \ ${MAKE_ENV} ${MAKE_CMD} install ${MAKE_ARGS} ${NEWPPC}) .endfor # Installing fpcmkcfg ${INSTALL_PROGRAM} ${WRKDIR}/${FPCSRCDIR}/utils/fpcmkcfg/bin/${BUILDNAME}/fpcmkcfg \ ${STAGEDIR}${PREFIX}/bin # Installing fpcmake ${INSTALL_PROGRAM} ${NEWFPCMAKE} ${STAGEDIR}${PREFIX}/bin # Installing manpages ${INSTALL_MAN} ${WRKDIR}/man/man1/* ${STAGEDIR}${MAN1PREFIX}/man/man1 ${INSTALL_MAN} ${WRKDIR}/man/man5/* ${STAGEDIR}${MAN1PREFIX}/man/man5 # symlinking compiler (cd ${STAGEDIR}${PREFIX}/bin && ${LN} -s ../lib/fpc/${PORTVERSION}/${PPNAME}) # creating sample configuration file ${SH} "${STAGEDIR}${PREFIX}/lib/fpc/${PORTVERSION}/samplecfg" \ "${STAGEDIR}${PREFIX}/lib/fpc/${PORTVERSION}" \ "${STAGEDIR}${PREFIX}/etc" @${REINPLACE_CMD} -i "" -e 's|${STAGEDIR}||' \ -e 's|^#-Fl/lib;/usr/lib|-Fl${LOCALBASE}/lib;${LOCALBASE}/lib/qt5|g' \ ${STAGEDIR}${PREFIX}/etc/fpc.cfg.sample .else .include "${MASTERDIR}/Makefile.units" .endif .include diff --git a/lang/fpc/files/patch-compiler-x86_aoptx86.pas b/lang/fpc/files/patch-compiler-x86_aoptx86.pas new file mode 100644 index 000000000000..d07688bb55ed --- /dev/null +++ b/lang/fpc/files/patch-compiler-x86_aoptx86.pas @@ -0,0 +1,72 @@ +--- compiler/x86/aoptx86.pas 2022-01-25 22:18:01.236523000 -0500 ++++ compiler/x86/aoptx86.pas 2022-01-25 22:34:15.492397000 -0500 +@@ -2761,6 +2761,7 @@ + if (l<=4) and (l>0) then + begin + condition:=inverse_cond(taicpu(p).condition); ++ UpdateUsedRegs(tai(p.next)); + GetNextInstruction(p,hp1); + repeat + if not Assigned(hp1) then +@@ -2768,7 +2769,7 @@ + + taicpu(hp1).opcode:=A_CMOVcc; + taicpu(hp1).condition:=condition; +- UpdateUsedRegs(hp1); ++ UpdateUsedRegs(tai(hp1.next)); + GetNextInstruction(hp1,hp1); + until not(CanBeCMOV(hp1)); + +@@ -2815,6 +2816,7 @@ + asml.Remove(p); + p.Free; + ++ UpdateUsedRegs(tai(hp2.next)); + GetNextInstruction(hp2, p); { Instruction after the label } + + { Remove the label if this is its final reference } +@@ -2878,6 +2880,7 @@ + FindLabel(tasmlabel(taicpu(hp2).oper[0]^.ref^.symbol),hp1) then + begin + condition:=inverse_cond(taicpu(p).condition); ++ UpdateUsedRegs(tai(p.next)); + GetNextInstruction(p,hp1); + repeat + taicpu(hp1).opcode:=A_CMOVcc; +@@ -2888,19 +2891,23 @@ + not(CanBeCMOV(hp1)); + + condition:=inverse_cond(condition); ++ if GetLastInstruction(hpmov2,hp1) then ++ UpdateUsedRegs(tai(hp1.next)); ++ + hp1 := hpmov2; + { hp1 is now at } + while Assigned(hp1) and CanBeCMOV(hp1) do + begin + taicpu(hp1).opcode:=A_CMOVcc; + taicpu(hp1).condition:=condition; +- UpdateUsedRegs(hp1); ++ UpdateUsedRegs(tai(hp1.next)); + GetNextInstruction(hp1,hp1); + end; + + hp1 := p; + + { Get first instruction after label } ++ UpdateUsedRegs(tai(hp3.next)); + GetNextInstruction(hp3, p); + + if assigned(p) and (hp3.typ = ait_align) then +@@ -2955,10 +2962,7 @@ + end; + + if Assigned(p) then +- begin +- UpdateUsedRegs(p); +- result:=true; +- end; ++ result:=true; + exit; + end; + end; diff --git a/lang/nbc/Makefile b/lang/nbc/Makefile index d1da83e2dd53..b539144e5ab7 100644 --- a/lang/nbc/Makefile +++ b/lang/nbc/Makefile @@ -1,51 +1,51 @@ # Created by: Ivan "Rambius" Ivanov PORTNAME= nbc PORTVERSION= 1.2.1.r4 -PORTREVISION= 19 +PORTREVISION= 20 CATEGORIES= lang MASTER_SITES= SF/bricxcc/NBC_NXC/NBC%20release%20${PORTVERSION:S/.r/%20r/} DISTNAME= ${PORTNAME}-${PORTVERSION}.src MAINTAINER= ports@FreeBSD.org COMMENT= Programming language for the LEGO MINDSTORMS NXT LICENSE= MPL11 DEPRECATED= No releases since 2011, for previous generation LEGO Mindstorms EXPIRATION_DATE= 2022-02-28 MAKE_JOBS_UNSAFE= yes MAKEFILE= nbcunix.mak WRKSRC= ${WRKDIR}/NXT OPTIONS_DEFINE= DOCS ROBOCTL ROBOCTL_DESC= Include roboctl to communicate with the NXT ROBOCTL_RUN_DEPENDS= legoctl:devel/roboctl USES= dos2unix fpc gmake tar:tgz USE_FPC= fcl-base fcl-image pasjpeg rtl-objpas PLIST_FILES= bin/nbc \ include/nbc/NXCDefs.h \ include/nbc/NBCCommon.h \ include/nbc/NXTDefs.h PORTDOCS= Changelog \ Readme post-patch: @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/${MAKEFILE} @${REINPLACE_CMD} -e 's|/usr/bin|${LOCALBASE}/bin|' ${WRKSRC}/${MAKEFILE} do-install: ${MKDIR} ${STAGEDIR}${PREFIX}/include/nbc ${INSTALL_PROGRAM} ${WRKSRC}/nbc ${STAGEDIR}${PREFIX}/bin ${INSTALL_DATA} ${WRKSRC}/*.h ${STAGEDIR}${PREFIX}/include/nbc ${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in ${PORTDOCS} ${INSTALL_DATA} ${WRKDIR}/doc/${f} ${STAGEDIR}${DOCSDIR} .endfor .include diff --git a/net/fpc-ldap/Makefile b/net/fpc-ldap/Makefile index 68e6ddb9cf0c..60fac8f72b58 100644 --- a/net/fpc-ldap/Makefile +++ b/net/fpc-ldap/Makefile @@ -1,21 +1,21 @@ # Created by: Christopher Key -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net lang PKGNAMESUFFIX= -ldap COMMENT= Free Pascal interface to OpenLDAP USES= fpc MASTERDIR= ${.CURDIR}/../../lang/fpc WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//} EXTRACTUNITDIR= ${WRKUNITDIR} OPTIONS_DEFINE= OPENLDAP OPENLDAP_DESC= Install OpenLDAP libraries OPTIONS_DEFAULT= OPENLDAP OPENLDAP_USE= OPENLDAP=yes .include "${MASTERDIR}/Makefile" diff --git a/science/checkmol/Makefile b/science/checkmol/Makefile index 85665a6de3dd..54d0c5405657 100644 --- a/science/checkmol/Makefile +++ b/science/checkmol/Makefile @@ -1,33 +1,33 @@ # Created by: Fernan Aguero PORTNAME= checkmol PORTVERSION= 0.5 -PORTREVISION= 11 +PORTREVISION= 12 CATEGORIES= science MASTER_SITES= https://homepage.univie.ac.at/norbert.haider/download/chemistry/checkmol/ DISTFILES= ${PORTNAME} EXTRACT_SUFX= .pas MAINTAINER= acm@FreeBSD.org COMMENT= Analyze molecules for the presence of functional groups LICENSE= GPLv2+ NO_WRKSUBDIR= yes EXTRACT_CMD= ${CP} EXTRACT_BEFORE_ARGS= # EXTRACT_AFTER_ARGS= ${WRKSRC} USES= fpc PLIST_FILES= bin/checkmol bin/matchmol do-build: (cd ${WRKSRC} && ${LOCALBASE}/bin/fpc ${EXTRACT_ONLY} -S2 -O3) do-install: (cd ${WRKSRC} && ${INSTALL_PROGRAM} ${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}) (cd ${STAGEDIR}${PREFIX}/bin && ${LN} ${PORTNAME} matchmol) .include diff --git a/science/checkmol/pkg-descr b/science/checkmol/pkg-descr index 8a25fdab05b4..748ea1fb84cb 100644 --- a/science/checkmol/pkg-descr +++ b/science/checkmol/pkg-descr @@ -1,27 +1,27 @@ Checkmol is a command-line utility program which reads molecular structure files in different formats and analyzes the input molecule for the presence of various functional groups and structural elements. At present, approx. 200 different functional groups are recognized. This output can be easily placed into a database table, permitting the creation of chemical databases with a functional group search option. Checkmol also outputs a set of statistical values derived from a given molecule, which can also be used for quick retrieval from a database. These values include: the number of atoms, bonds, and rings, the number of differently hybridized carbon, oxgen, and nitrogen atoms, the number of C=O double bonds, the number of rings of different sizes, the number of rings containing nitrogen, oxygen, sulfur, the number of aromatic rings, the number of heterocyclic rings, etc. The combination of all of these values for a given molecule represents some kind of "fingerprint" which is useful for rapid pre-selection in a database structure/substructure search prior to a full atom-by-atom match. Matchmol complements the capabilities of checkmol. It compares two (or more) molecular structures and determines whether one of them is a substructure of the other one. This is done by a full atom-by-atom comparison of the input structures. Thus, matchmol can be used as a back-end program for structure/substructure search operations in chemical databases. The port installs both checkmol and matchmol. -WWW: http://merian.pch.univie.ac.at/~nhaider/cheminf/cmmm.html +WWW: https://homepage.univie.ac.at/norbert.haider/cheminf/cmmm.html diff --git a/science/mol2ps/Makefile b/science/mol2ps/Makefile index 31d63016560a..69a6b0606281 100644 --- a/science/mol2ps/Makefile +++ b/science/mol2ps/Makefile @@ -1,38 +1,38 @@ # Created by: Fernan Aguero PORTNAME= mol2ps PORTVERSION= 0.4b -PORTREVISION= 9 +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 diff --git a/science/mol2ps/pkg-descr b/science/mol2ps/pkg-descr index 518ed9152c63..2c036e8dc3ef 100644 --- a/science/mol2ps/pkg-descr +++ b/science/mol2ps/pkg-descr @@ -1,7 +1,7 @@ mol2ps is a freely available command-line utility program which reads molecular structure files in different formats and generates Postscript output for 2D display. The Postscript file can then be used e.g. for creating a bitmap file, using a Postscript interpreter like Ghostscript. -WWW: http://merian.pch.univie.ac.at/~nhaider/cheminf/mol2ps.html +WWW: https://homepage.univie.ac.at/norbert.haider/cheminf/mol2ps.html