diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2015-12-25 23:00:32 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2015-12-25 23:00:32 +0800 |
commit | aae2479e4f5a0266b94ea311980cf43bd3456645 (patch) | |
tree | d86da70d9663d0f88241db66047a19bcc4b2af62 /cad | |
parent | dbc2f77816cb16459a83c2b10de03f7fcca95422 (diff) | |
download | freebsd-ports-gnome-aae2479e4f5a0266b94ea311980cf43bd3456645.tar.gz freebsd-ports-gnome-aae2479e4f5a0266b94ea311980cf43bd3456645.tar.zst freebsd-ports-gnome-aae2479e4f5a0266b94ea311980cf43bd3456645.zip |
- Switch to USES=localbase
- Switch to options helpers
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} |