cad/admesh: Update 0.95 -> 0.98.3
Port changes: * Project moved to github * Add LICENSE_FILE * Add USE_LDCONFIG: it now installs the shared library * Remove do-install: it now installs by itself Reported by: repology
This commit is contained in:
parent
03c2585124
commit
c5110864ff
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=474673
3 changed files with 20 additions and 27 deletions
|
@ -2,31 +2,34 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= admesh
|
||||
PORTVERSION= 0.95
|
||||
PORTREVISION= 1
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 0.98.3
|
||||
CATEGORIES= cad
|
||||
MASTER_SITES= http://launchpadlibrarian.net/67068999/ \
|
||||
http://www.sourcefiles.org/Scientific/Numerical_Analysis/
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Program for processing STL triangulated solid meshes
|
||||
|
||||
LICENSE= GPLv2+
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
USES= autoreconf libtool
|
||||
USE_GITHUB= yes
|
||||
GNU_CONFIGURE= yes
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
PORTDOCS= *
|
||||
|
||||
PORTDOCS= admesh.doc
|
||||
PLIST_FILES= bin/admesh
|
||||
PLIST_FILES= bin/admesh \
|
||||
include/admesh/stl.h \
|
||||
lib/libadmesh.so \
|
||||
lib/libadmesh.so.1 \
|
||||
lib/libadmesh.so.1.0.0 \
|
||||
libdata/pkgconfig/libadmesh.pc \
|
||||
man/man1/admesh.1.gz
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|-O2||' ${WRKSRC}/configure
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/admesh ${STAGEDIR}${PREFIX}/bin/
|
||||
do-install-DOCS-on:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/ADMESH.DOC ${STAGEDIR}${DOCSDIR}/admesh.doc
|
||||
@${RM} ${STAGEDIR}${DOCSDIR}/COPYING
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
SHA256 (admesh-0.95.tar.gz) = 90108cc412b77cc686fc264ccf5bbe73fd23d0c6cf2430216030392df955ded3
|
||||
SIZE (admesh-0.95.tar.gz) = 51340
|
||||
TIMESTAMP = 1531641582
|
||||
SHA256 (admesh-admesh-v0.98.3_GH0.tar.gz) = 6aa1bb3c68309ba72441ecb56e8b0cd6560ab9f7688de3333f8c72f8f6948ac6
|
||||
SIZE (admesh-admesh-v0.98.3_GH0.tar.gz) = 39898
|
||||
|
|
|
@ -1,11 +0,0 @@
|
|||
--- ./admesh.c.orig 1996-07-27 00:07:15.000000000 +0200
|
||||
+++ ./admesh.c 2012-10-27 21:01:18.374482756 +0200
|
||||
@@ -27,7 +27,7 @@
|
||||
|
||||
static void usage(int status, char *program_name);
|
||||
|
||||
-void
|
||||
+int
|
||||
main(int argc, char **argv)
|
||||
{
|
||||
stl_file stl_in;
|
Loading…
Reference in a new issue