diff options
author | Thierry Thomas <thierry@FreeBSD.org> | 2006-07-28 21:52:44 +0000 |
---|---|---|
committer | Thierry Thomas <thierry@FreeBSD.org> | 2006-07-28 21:52:44 +0000 |
commit | faaf5c9d386871639918de0ff677a301766b02d3 (patch) | |
tree | 8f1a23d917c06d6f7a7f80a6527ef4fb922a030f /lang/f77 | |
parent | eab71026bf48a4e6680e0c771d41b4622887193f (diff) | |
download | ports-faaf5c9d386871639918de0ff677a301766b02d3.tar.gz ports-faaf5c9d386871639918de0ff677a301766b02d3.zip |
Notes
Diffstat (limited to 'lang/f77')
-rw-r--r-- | lang/f77/Makefile | 19 | ||||
-rw-r--r-- | lang/f77/pkg-plist | 1 |
2 files changed, 8 insertions, 12 deletions
diff --git a/lang/f77/Makefile b/lang/f77/Makefile index 6813c86e46ac..9eb1638092d9 100644 --- a/lang/f77/Makefile +++ b/lang/f77/Makefile @@ -16,30 +16,27 @@ MAINTAINER= ports@FreeBSD.org COMMENT= Fortran 77 driver utility for f2c and gcc .ifdef GNU_CPP -RUN_DEPENDS= ${PREFIX}/bin/f2c:${PORTSDIR}/lang/f2c +RUN_DEPENDS= ${LOCALBASE}/bin/f2c:${PORTSDIR}/lang/f2c .else -RUN_DEPENDS= ${PREFIX}/bin/fpp:${PORTSDIR}/devel/fpp \ - ${PREFIX}/bin/f2c:${PORTSDIR}/lang/f2c +RUN_DEPENDS= ${LOCALBASE}/bin/fpp:${PORTSDIR}/devel/fpp \ + ${LOCALBASE}/bin/f2c:${PORTSDIR}/lang/f2c .endif # Set F77NAME to the name of the Fortran 77 wrapper. F77NAME= ftn77 .ifdef GNU_CPP -MAKE_ARGS= "CFLAGS= ${CFLAGS} -DPP_COMMAND='\"/usr/bin/cpp\"' \ - -DF2C_COMMAND='\"${PREFIX}/bin/f2c\"'" +MAKE_ARGS= "CFLAGS= ${CFLAGS} -DPP_COMMAND='\"${CPP}\"' \ + -DF2C_COMMAND='\"${LOCALBASE}/bin/f2c\"'" .else MAKE_ARGS= "CFLAGS= ${CFLAGS} -DSUN_FPP \ - -DPP_COMMAND='\"${PREFIX}/bin/fpp\"' \ - -DF2C_COMMAND='\"${PREFIX}/bin/f2c\"'" + -DPP_COMMAND='\"${LOCALBASE}/bin/fpp\"' \ + -DF2C_COMMAND='\"${LOCALBASE}/bin/f2c\"'" .endif ALL_TARGET= depend all MAN1= ${F77NAME}.1 -PLIST= ${WRKDIR}/PLIST - -pre-install: - @${ECHO_CMD} 'bin/${F77NAME}' > ${PLIST} +PLIST_FILES= bin/${F77NAME} do-install: ${INSTALL_PROGRAM} ${WRKSRC}/f77 ${PREFIX}/bin/${F77NAME} diff --git a/lang/f77/pkg-plist b/lang/f77/pkg-plist deleted file mode 100644 index b03b441f1909..000000000000 --- a/lang/f77/pkg-plist +++ /dev/null @@ -1 +0,0 @@ -bin/fc |