freebsd-ports/editors/manedit/Makefile
Alex Kozlov d4041784dc - Remove MAKE_JOBS_SAFE variable
Approved by:	portmgr (bdrewery)
2013-08-14 22:35:50 +00:00

29 lines
700 B
Makefile

# Created by: Maxim Sobolev <sobomax@FreeBSD.org>
# $FreeBSD$
PORTNAME= manedit
PORTVERSION= 1.2.1
CATEGORIES= editors
MASTER_SITES= http://wolfsinger.com/~wolfpack/packages/
MAINTAINER= johans@FreeBSD.org
COMMENT= A UNIX manual page editor and viewer
WRKSRC= ${WRKDIR}/${DISTNAME}/${PORTNAME}
MAKEFILE= Makefile.FreeBSD
USE_BZIP2= yes
USE_GNOME= gtk12
MAN1= manedit.1
pre-configure:
@${CP} ${FILESDIR}/mntent* ${WRKSRC}
post-patch:
@${REINPLACE_CMD} -e '/-o $$(BIN)/s/(CC)/(CXX)/' ${WRKSRC}/${MAKEFILE}
@${REINPLACE_CMD} -e '/^MAN/s/.bz2//' ${WRKSRC}/Makefile.install.FreeBSD
@${REINPLACE_CMD} -e '/^SRC_C =/s//& mntent_compat.c/' \
${WRKSRC}/Makefile.srclist
.include <bsd.port.mk>