diff options
author | tijl <tijl@FreeBSD.org> | 2013-12-18 05:24:17 +0800 |
---|---|---|
committer | tijl <tijl@FreeBSD.org> | 2013-12-18 05:24:17 +0800 |
commit | 0c5abc118958ee2e1c2fb3c22a20a29bc6c852a9 (patch) | |
tree | d80fbcea447aa87e45ec3439f352fe25d4f8de01 /biology | |
parent | 84b1319c7006cd4cd65e93074378cf0f4ca803ea (diff) | |
download | freebsd-ports-graphics-0c5abc118958ee2e1c2fb3c22a20a29bc6c852a9.tar.gz freebsd-ports-graphics-0c5abc118958ee2e1c2fb3c22a20a29bc6c852a9.tar.zst freebsd-ports-graphics-0c5abc118958ee2e1c2fb3c22a20a29bc6c852a9.zip |
USES=fortran, fix LDFLAGS, staging.
Diffstat (limited to 'biology')
-rw-r--r-- | biology/ortep3/Makefile | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/biology/ortep3/Makefile b/biology/ortep3/Makefile index 419220c74e4..b4d484648f2 100644 --- a/biology/ortep3/Makefile +++ b/biology/ortep3/Makefile @@ -15,11 +15,11 @@ COMMENT= Oak Ridge Thermal Ellipsoid Plot Program for Crystal Structure PGPLOT_LIB_DEPENDS= libpgplot.so:${PORTSDIR}/graphics/pgplot -USE_FORTRAN= yes +USES= fortran WRKSRC= ${WRKDIR}/ortep/src -MAKE_ARGS= LFLAGS="${LFLAGS}" +MAKE_ARGS= LFLAGS="${LDFLAGS}" -PGPLOT_LFLAGS= -L${LOCALBASE}/lib -lpgplot -lX11 +PGPLOT_LDFLAGS= -L${LOCALBASE}/lib -lpgplot -lX11 PLIST_FILES+= bin/ortep3 PORTDOCS= * @@ -28,7 +28,6 @@ PORTEXAMPLES= * OPTIONS_DEFINE= DOCS EXAMPLES PGPLOT PGPLOT_DESC= Fortran subroutine package for drawing graphs -NO_STAGE= yes .include <bsd.port.options.mk> .if ${PORT_OPTIONS:MPGPLOT} @@ -43,16 +42,16 @@ pre-build: ${CP} ${FILESDIR}/Makefile.ortep3 ${WRKSRC}/Makefile do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/ortep3 ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/ortep3 ${STAGEDIR}${PREFIX}/bin .if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR}/src - ${INSTALL_DATA} ${WRKSRC}/../README.1st ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/../man/* ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/000readme.txt ${DOCSDIR}/src + ${MKDIR} ${STAGEDIR}${DOCSDIR}/src + ${INSTALL_DATA} ${WRKSRC}/../README.1st ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/../man/* ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/000readme.txt ${STAGEDIR}${DOCSDIR}/src .endif .if ${PORT_OPTIONS:MEXAMPLES} - @${MKDIR} ${EXAMPLESDIR} - ${INSTALL_DATA} ${WRKSRC}/../examples/* ${EXAMPLESDIR} + ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/../examples/* ${STAGEDIR}${EXAMPLESDIR} .endif .include <bsd.port.mk> |