1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00
freebsd-ports/x11-fm/mtoolsfm/Makefile
Tijl Coosemans 3ce0f21808 devel/glib12 x11-toolkits/gtk12:
- Convert to USES=libtool and bump dependent ports
- Add INSTALL_TARGET=install-strip
- Remove patches that renamed include directories and libraries so they
  didn't conflict with early development versions of glib/gtk 2.0
2014-09-13 15:11:27 +00:00

35 lines
914 B
Makefile

# Created by: Michael Vasilenko <acid@stu.cn.ua>
# $FreeBSD$
PORTNAME= mtoolsfm
PORTVERSION= 1.9.5
PORTREVISION= 3
CATEGORIES= x11-fm
MASTER_SITES= SF
DISTNAME= MToolsFM-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Graphical frontend to mtools
RUN_DEPENDS= mtools:${PORTSDIR}/emulators/mtools
USES= gettext pathfix
USE_GNOME= gtk12
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ARGS= --with-conffile="${PREFIX}/etc/mtoolsfm.conf"
post-patch:
@${REINPLACE_CMD} -e 's|MToolsFM|mtoolsfm|g' ${WRKSRC}/configure
@${FIND} ${WRKSRC} -name 'Makefile.in' | ${XARGS} ${REINPLACE_CMD} -e \
's|MToolsFM|mtoolsfm|g'
@cd ${WRKSRC} && ${SED} -e \
's|MToolsFM|mtoolsfm|g ; \
s| /etc| ${PREFIX}/etc|g ; \
s|/usr/X11R6/bin|${PREFIX}/bin|g ; \
s|/usr/bin|${LOCALBASE}/bin|g ; \
s|^/etc|${PREFIX}/etc|g' < MToolsFM.1 > mtoolsfm.1
.include <bsd.port.mk>