blob: bd42642bb0832052a5448e00bdcf1c5a3afee000 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# $NetBSD: Makefile,v 1.2 2000/03/23 22:08:50 tron Exp $
# FreeBSD: ports/editors/uemacs/Makefile,v 1.14 1999/10/07 06:49:01 tg Exp
DISTNAME= ue400dev
PKGNAME= uemacs-4.0
CATEGORIES= editors
MASTER_SITES= ftp://aquest.com/pub/uemacs400/disk2/
EXTRACT_SUFX= .zip
MAINTAINER= tron@netbsd.org
BUILD_DEPENDS+=${UNZIP}:../../archivers/unzip
EXTRACT_CMD= ${UNZIP} -Laq ${DISTDIR}/${EXTRACT_ONLY}
UNZIP= ${LOCALBASE}/bin/unzip
WRKSRC= ${WRKDIR}
post-extract:
${CP} -r ${WRKSRC}/freebsd ${WRKSRC}/netbsd
post-patch:
for FILE in ${WRKSRC}/src/*.c ${WRKSRC}/h/*.h; do \
${MV} $${FILE} $${FILE}.old; \
${SED} -e "s|%%PREFIX%%|${PREFIX}|g" <$${FILE}.old >$${FILE}; \
done
.include "../../mk/bsd.pkg.mk"
|