e557e7d7cd
Sponsored by: Francisco Reyes <fjrm@yahoo.com>
32 lines
656 B
Makefile
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>
|