diff options
author | ehaupt <ehaupt@FreeBSD.org> | 2005-10-15 23:11:21 +0800 |
---|---|---|
committer | ehaupt <ehaupt@FreeBSD.org> | 2005-10-15 23:11:21 +0800 |
commit | 81c31d0377f033110c451696820da7aa3522f3de (patch) | |
tree | f3eec913ab81b94f19a40752c7080b2d6f90c239 | |
parent | 07dc9d31813aed98b41e3d00bd8def8f88499a57 (diff) | |
download | freebsd-ports-gnome-81c31d0377f033110c451696820da7aa3522f3de.tar.gz freebsd-ports-gnome-81c31d0377f033110c451696820da7aa3522f3de.tar.zst freebsd-ports-gnome-81c31d0377f033110c451696820da7aa3522f3de.zip |
- Do not use fribidi if WITHOUT_FRIBIDI is defined even
if fribidi is installed
- Use proper path in post-extract section
Noticed by: Dmitry Marakasov <amdmi3@mail.ru> (maintainer)
Approved by: novel (mentor) (implicit)
-rw-r--r-- | games/fillets-ng/Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/games/fillets-ng/Makefile b/games/fillets-ng/Makefile index 1efdc1fced36..18906d7d31bb 100644 --- a/games/fillets-ng/Makefile +++ b/games/fillets-ng/Makefile @@ -7,6 +7,7 @@ PORTNAME= fillets-ng PORTVERSION= 0.7.3 +PORTREVISION= 1 CATEGORIES= games MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= fillets @@ -46,9 +47,14 @@ LIB_DEPENDS+= fribidi.0:${PORTSDIR}/converters/fribidi post-patch: @${REINPLACE_CMD} -e 's|^\(AM_CPPFLAGS.*(datadir)\)/.*|\1"\\"|' \ ${WRKSRC}/src/gengine/Makefile.in +.if defined(WITHOUT_FRIBIDI) + @${REINPLACE_CMD} -e \ + 's|FRIBIDI_CFLAGS=$$pkg_cv_FRIBIDI_CFLAGS||; s|FRIBIDI_LIBS=$$pkg_cv_FRIBIDI_LIBS||; s|have_fribidi="yes"|have_fribidi="no"|' \ + ${WRKSRC}/configure +.endif post-extract: - @${TAR} xfz ${DISTDIR}/${PORTNAME}-data-${DATAVERSION}${EXTRACT_SUFX} -C ${WRKDIR} \ + @${TAR} xfz ${DISTDIR}/${DIST_SUBDIR}/${PORTNAME}-data-${DATAVERSION}${EXTRACT_SUFX} -C ${WRKDIR} \ ${PORTNAME}-data-${DATAVERSION}/font \ ${PORTNAME}-data-${DATAVERSION}/images \ ${PORTNAME}-data-${DATAVERSION}/music \ @@ -57,7 +63,7 @@ post-extract: .if !defined(NOPORTDOCS) @${MKDIR} ${WRKDIR}/doc - @${TAR} xfz ${DISTDIR}/${PORTNAME}-data-${DATAVERSION}${EXTRACT_SUFX} -C ${WRKDIR}/doc \ + @${TAR} xfz ${DISTDIR}/${DIST_SUBDIR}/${PORTNAME}-data-${DATAVERSION}${EXTRACT_SUFX} -C ${WRKDIR}/doc \ ${PORTNAME}-data-${DATAVERSION}/doc .endif |