freebsd-ports/editors/manedit/Makefile
Maxim Sobolev e557e7d7cd Add manedit 0.4.h, a UNIX manual page editor and viewer.
Sponsored by:	Francisco Reyes <fjrm@yahoo.com>
2001-02-20 08:10:42 +00:00

32 lines
656 B
Makefile

# New ports collection makefile for: manedit
# Date created: 9 February 2001
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= manedit
PORTVERSION= 0.4.h
CATEGORIES= editors
MASTER_SITES= ftp://fox.mit.edu/pub/xsw/
DISTNAME= ${PORTNAME}${PORTVERSION:S/.h/h/}
EXTRACT_SUFX= .tgz
MAINTAINER= sobomax@FreeBSD.org
WRKSRC= ${WRKDIR}/${DISTNAME}/${PORTNAME}
USE_X_PREFIX= yes
USE_GTK= yes
MAN1= manedit.1
pre-patch:
@find ${WRKSRC} \( -name "*.[ch]" -or -name "*.cpp" \) | \
xargs ${PERL} -pi -e 's|malloc\.h|stdlib.h|g'
post-install:
${INSTALL_SCRIPT} ${FILESDIR}/manwrap.sh ${PREFIX}/bin/manwrap
.include <bsd.port.mk>