1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-12 07:27:57 +00:00
freebsd-ports/math/liborigin/Makefile
Pav Lucistnik a1fd3f2816 - Update to 20070926
PR:		ports/117600
Submitted by:	Max Brazhnikov <makc@issp.ac.ru> (maintainer)
2007-12-14 23:28:04 +00:00

40 lines
912 B
Makefile

# New ports collection makefile for: liborigin
# Date created: 2006-08-26
# Whom: Max Brazhnikov <makc@issp.ac.ru>
#
# $FreeBSD$
#
PORTNAME= liborigin
PORTVERSION= 20070926
CATEGORIES= math
MASTER_SITES= SF
MAINTAINER= makc@issp.ac.ru
COMMENT= Tools for importing OriginLab .OPJ files
CONFLICTS= LabPlot-[0-9]*
PLIST_FILES= bin/opj2dat \
include/OPJFile.h \
include/tree.hh \
lib/liborigin.so \
lib/liborigin.so.0
USE_LDCONFIG= yes
post-patch:
@${REINPLACE_CMD} -e \
's|g++|${CXX}|; \
s|^\(CFLAGS.*=\)|\1${CXXFLAGS} |' \
${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/opj2dat ${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/OPJFile.h ${PREFIX}/include/
${INSTALL_DATA} ${WRKSRC}/tree.hh ${PREFIX}/include/
${INSTALL_PROGRAM} ${WRKSRC}/lib/liborigin.so.0.0.3 ${PREFIX}/lib/liborigin.so.0
${LN} -fs ${PREFIX}/lib/liborigin.so.0 ${PREFIX}/lib/liborigin.so
.include <bsd.port.mk>