diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2015-12-25 15:00:32 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2015-12-25 15:00:32 +0000 |
commit | 185d93178dc6c6164ff068c24059067d632ff3db (patch) | |
tree | d86da70d9663d0f88241db66047a19bcc4b2af62 /cad | |
parent | - Switch to options helpers (diff) |
- Switch to USES=localbase
- Switch to options helpers
Notes
Notes:
svn path=/head/; revision=404430
Diffstat (limited to 'cad')
-rw-r--r-- | cad/feappv/Makefile | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/cad/feappv/Makefile b/cad/feappv/Makefile index f3ebb53302ac..72b4546b2fe3 100644 --- a/cad/feappv/Makefile +++ b/cad/feappv/Makefile @@ -13,7 +13,7 @@ EXTRACT_ONLY= ${PORTNAME}${PORTVERSION:S/.//}${EXTRACT_SUFX} MAINTAINER= ports@FreeBSD.org COMMENT= Finite element analysis program (personal version) -USES= fortran gmake zip +USES= fortran gmake localbase zip USE_XORG= x11 MAKEFILE= makefile MAKE_ENV= FEAPPVHOME3_1="${WRKSRC}" @@ -21,16 +21,13 @@ ALL_TARGET= install WRKSRC= ${WRKDIR}/ver${PORTVERSION:S/.//} -CFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib -lX11 -lm +LDFLAGS+= -lX11 -lm PLIST_FILES= bin/feappv lib/libfeappv.a PORTDOCS= manual.pdf OPTIONS_DEFINE= DOCS -.include <bsd.port.options.mk> - post-patch: @${REINPLACE_CMD} -e \ 's| make | $$(MAKE) |' ${WRKSRC}/makefile @@ -45,6 +42,8 @@ post-patch: do-install: ${INSTALL_PROGRAM} ${WRKSRC}/main/feappv ${STAGEDIR}${PREFIX}/bin ${INSTALL_DATA} ${WRKSRC}/libfeappv.a ${STAGEDIR}${PREFIX}/lib + +do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${_DISTDIR}/${PORTDOCS} ${STAGEDIR}${DOCSDIR} |