Skip to content

Commit

Permalink
graphics/geomview: Optionize INFO
Browse files Browse the repository at this point in the history
- Pet portclippy
  • Loading branch information
5u623l20 committed Oct 22, 2023
1 parent 30f415b commit 0354113
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions graphics/geomview/Makefile
Expand Up @@ -13,20 +13,26 @@ LICENSE_FILE= ${WRKSRC}/COPYING

RUN_DEPENDS= xdg-open:devel/xdg-utils

USES= cpe gl libtool makeinfo motif tar:bzip2
USE_GL= glu
USES= cpe gl libtool motif tar:bzip2
USE_GL= gl glu
USE_LDCONFIG= yes
USE_XORG= ice sm x11 xext xmu xt

GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-htmlbrowser=xdg-open --with-pdfviewer=xdg-open \
--with-motif=${LOCALBASE} --with-opengl=${LOCALBASE}

INSTALL_TARGET= install-strip
USE_LDCONFIG= yes

PLIST_SUB= VERSION="${PORTVERSION}"

INFO= geomview
OPTIONS_DEFINE= DOCS EXAMPLES INFO MOTION_AVG
OPTIONS_DEFAULT= INFO

OPTIONS_DEFINE= DOCS EXAMPLES MOTION_AVG
MOTION_AVG_DESC= Experimental motion averaging code

INFO_USES= makeinfo
INFO_INFO= geomview
MOTION_AVG_CONFIGURE_ENABLE= motion-averaging

post-patch:
Expand All @@ -35,11 +41,11 @@ post-patch:
/install-man/s|install-nobase_infoimgDATA||' \
${WRKSRC}/doc/Makefile.in

post-build:
post-build-INFO-on:
@(cd ${WRKSRC}/doc && makeinfo --no-split --no-validate \
-o geomview.info geomview.texi)

post-install:
post-install-INFO-on:
(cd ${WRKSRC}/doc && ${INSTALL_DATA} geomview.info \
${STAGEDIR}${PREFIX}/${INFO_PATH})

Expand Down

0 comments on commit 0354113

Please sign in to comment.