It brings bison as a build dependency in case it is set the following way: USES= bison or USES= bison:build it brings bison as a run dependency in case it is set the following way: USES= bison:run it brings bison both as a run and build dependency in case it the set the following way: USES= bison:both While here trim some headers Convert some USE_GNOME= gnomehack to USES= pathfix
35 lines
1 KiB
Makefile
35 lines
1 KiB
Makefile
# Created by: Ryo MIYAMOTO <rmiya@cc.hirosaki-u.ac.jp>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= chemeq
|
|
PORTVERSION= 1.50
|
|
PORTREVISION= 1
|
|
CATEGORIES= biology textproc
|
|
MASTER_SITES= http://download.gna.org/chemeq/chemeq-1.5/ \
|
|
http://freebsd.nsu.ru/distfiles/
|
|
DISTNAME= ${PORTNAME}_1.5
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Outputs LaTeX code for chemical reaction
|
|
|
|
MAKE_ARGS= CXX="${CXX}" CXXFLAGS="${CXXFLAGS}"
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-1.5
|
|
|
|
USES= bison
|
|
|
|
MAN1= chemeq.1
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/chemeq ${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/chemeq.1 ${MAN1PREFIX}/man/man1
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR} ${EXAMPLESDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/tests/test.stuff ${EXAMPLESDIR}
|
|
${INSTALL_SCRIPT} ${WRKSRC}/tests/chemreport ${EXAMPLESDIR}
|
|
${INSTALL_SCRIPT} ${WRKSRC}/tests/chemreport.pl ${EXAMPLESDIR}
|
|
${INSTALL_SCRIPT} ${WRKSRC}/tests/chemtest ${EXAMPLESDIR}
|
|
${INSTALL_SCRIPT} ${WRKSRC}/tests/chemtest.pl ${EXAMPLESDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|