# $FreeBSD$ # # Lookup common paths in Makefile.in, configure and similar files, and replace # their values to respect FreeBSD hier(7) for file installation. # # Feature: pathfix # Usage: USES=pathfix # Valid ARGS: does not require args # # MAINTAINER: portmgr@FreeBSD.org .if !defined(_INCLUDE_USES_PATHFIX_MK) _INCLUDE_USES_PATHFIX_MK= yes .if !empty(pathfix_ARGS) IGNORE= USES=pathfix does not require args .endif PATHFIX_MAKEFILEIN?= Makefile.in _USES_patch+= 190:pathfix pathfix: @${FIND} ${WRKSRC} -name "${PATHFIX_MAKEFILEIN}" -type f | ${XARGS} ${REINPLACE_CMD} -e \ 's|[(]libdir[)]/locale|(prefix)/share/locale|g ; \ s|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g ; \ s|[(]LIBDIR[)]/pkgconfig|(PREFIX)/libdata/pkgconfig|g ; \ s|[{]libdir[}]/pkgconfig|(prefix)/libdata/pkgconfig|g ; \ s|[{]LIBDIR[}]/pkgconfig|(PREFIX)/libdata/pkgconfig|g ; \ s|[(]datadir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g ; \ s|[(]prefix[)]/lib/pkgconfig|(prefix)/libdata/pkgconfig|g ; \ s|[$$][(]localstatedir[)]/scrollkeeper|${SCROLLKEEPER_DIR}|g ; \ s|[(]libdir[)]/bonobo/servers|(prefix)/libdata/bonobo/servers|g' .endif ndex : freebsd-ports-gnome
FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
path: root/audio/libmodplug/Makefile
Commit message (Expand)AuthorAgeFilesLines
* Mass-conversion to the USE_AUTOTOOLS New World Order. The code presentade2005-11-151-1/+1
* Change MAINTAINER address for my ports.ehaupt2005-10-061-1/+1
* Apply a big libtool patch to allow porters to use the libtool installed bymarcus2004-07-101-1/+1
* - Restore maintainership, bouncing address works againpav2004-06-021-1/+1
* - Reset maintainer:pav2004-05-291-1/+1