1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-10 07:04:03 +00:00
freebsd-ports/editors/nedit/Makefile
Mathieu Arnold 60d1a83c2a MASTER_SITES cleanup.
- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
  of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
  no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.

While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.

Also, replace some EXTRACT_SUFX occurences with USES=tar:*.

Checked by:	make fetch-urlall-list
With hat:	portmgr
Sponsored by:	Absolight
2015-05-14 10:15:04 +00:00

41 lines
910 B
Makefile

# Created by: Daniel Eischen <deischen@FreeBSD.org>
# $FreeBSD$
PORTNAME= nedit
PORTVERSION= 5.6
PORTREVISION= 1
CATEGORIES= editors
MASTER_SITES= http://people.freebsd.org/~deischen/distfiles/ \
SF/${PORTNAME}/${PORTNAME}-source \
ftp://ftp.nluug.nl/pub/editors/NEdit/contrib/misc/
DISTFILES= nedit-5.6a-src.tar.gz nedit.app-defaults
EXTRACT_ONLY= nedit-5.6a-src.tar.gz
MAINTAINER= deischen@FreeBSD.org
COMMENT= X11/Motif GUI text editor for programs and plain text files
LICENSE= GPLv1
USES= motif perl5
USE_PERL5= build
ALL_TARGET= freebsd
PLIST_FILES= bin/nclient \
bin/nedit \
man/man1/nclient.1.gz \
man/man1/nedit.1.gz \
lib/X11/app-defaults/NEdit.ad
post-extract:
${CP} ${DISTDIR}/nedit.app-defaults ${WRKSRC}/NEdit.ad
post-build:
cd ${WRKSRC} && make docs
post-install::
.for file in nedit nclient
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${file}
.endfor
.include <bsd.port.mk>