Lines 2-8
Link Here
|
2 |
# $FreeBSD: head/textproc/ml1/Makefile 422089 2016-09-14 00:09:45Z cpm $ |
2 |
# $FreeBSD: head/textproc/ml1/Makefile 422089 2016-09-14 00:09:45Z cpm $ |
3 |
|
3 |
|
4 |
PORTNAME= ml1 |
4 |
PORTNAME= ml1 |
5 |
PORTVERSION= 4.11 |
5 |
PORTVERSION= 4.12 |
6 |
CATEGORIES= textproc |
6 |
CATEGORIES= textproc |
7 |
MASTER_SITES= http://www.ml1.org.uk/distfiles/ \ |
7 |
MASTER_SITES= http://www.ml1.org.uk/distfiles/ \ |
8 |
http://www.ancientgeek.org.uk/distfiles/ |
8 |
http://www.ancientgeek.org.uk/distfiles/ |
Lines 12-22
Link Here
|
12 |
|
12 |
|
13 |
LICENSE= BSD3CLAUSE |
13 |
LICENSE= BSD3CLAUSE |
14 |
|
14 |
|
15 |
PLIST_FILES= bin/ml1 man/man1/ml1.1.gz |
15 |
OPTIONS_DEFINE= DOCS |
|
|
16 |
|
17 |
.include <bsd.port.pre.mk> |
18 |
|
19 |
post-patch: |
20 |
.if ${ARCH} == amd64 |
21 |
@${REINPLACE_CMD} \ |
22 |
-e '/^#define FBSD32/s/1/0/' \ |
23 |
-e '/^#define FBSD64/s/0/1/'\ |
24 |
${WRKSRC}/ml1.h |
25 |
.endif |
16 |
|
26 |
|
17 |
do-install: |
27 |
do-install: |
18 |
${INSTALL_PROGRAM} ${WRKSRC}/ml1 ${STAGEDIR}${PREFIX}/bin |
28 |
${INSTALL_PROGRAM} ${WRKSRC}/ml1 ${STAGEDIR}${PREFIX}/bin |
19 |
${INSTALL_MAN} ${WRKSRC}/ml1.1.gz \ |
29 |
${INSTALL_MAN} ${WRKSRC}/ml1.1.gz \ |
20 |
${STAGEDIR}${MANPREFIX}/man/man1 |
30 |
${STAGEDIR}${MANPREFIX}/man/man1 |
21 |
|
31 |
|
22 |
.include <bsd.port.mk> |
32 |
do-install-DOCS-on: |
|
|
33 |
@${MKDIR} ${STAGEDIR}${DOCSDIR} |
34 |
(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) |
35 |
|
36 |
.include <bsd.port.post.mk> |