|
Lines 1-12
Link Here
|
| 1 |
# New ports collection makefile for: tpasm |
1 |
# Created by: Alexey Dokuchaev <danfe@regency.nsu.ru> |
| 2 |
# Date created: 13 Feb 2003 |
|
|
| 3 |
# Whom: Alexey Dokuchaev <danfe@regency.nsu.ru> |
| 4 |
# |
| 5 |
# $FreeBSD: head/devel/tpasm/Makefile 300896 2012-07-14 13:54:48Z beat $ |
2 |
# $FreeBSD: head/devel/tpasm/Makefile 300896 2012-07-14 13:54:48Z beat $ |
| 6 |
# |
|
|
| 7 |
|
3 |
|
| 8 |
PORTNAME= tpasm |
4 |
PORTNAME= tpasm |
| 9 |
PORTVERSION= 1.6 |
5 |
PORTVERSION= 1.7 |
| 10 |
CATEGORIES= devel |
6 |
CATEGORIES= devel |
| 11 |
MASTER_SITES= ftp://ftp.ct0.com/pub/ |
7 |
MASTER_SITES= ftp://ftp.ct0.com/pub/ |
| 12 |
DISTNAME= ${PORTNAME}${PORTVERSION} |
8 |
DISTNAME= ${PORTNAME}${PORTVERSION} |
|
Lines 18-38
Link Here
|
| 18 |
LICENSE= GPLv2 |
14 |
LICENSE= GPLv2 |
| 19 |
|
15 |
|
| 20 |
USE_GMAKE= yes |
16 |
USE_GMAKE= yes |
|
|
17 |
MAKE_JOBS_SAFE= yes |
| 18 |
|
| 21 |
PORTDOCS= * |
19 |
PORTDOCS= * |
| 22 |
PORTEXAMPLES= * |
20 |
PORTEXAMPLES= * |
| 23 |
|
21 |
|
|
|
22 |
post-patch: |
| 23 |
@${REINPLACE_CMD} -e \ |
| 24 |
's|-O2|| ; \ |
| 25 |
s|CFLAGS=|CFLAGS+=| ; \ |
| 26 |
s|$$(CC) -O|$$(CXX) $$(LDFLAGS)| ; \ |
| 27 |
s|-lstdc++||' ${WRKSRC}/Makefile |
| 28 |
|
| 24 |
do-install: |
29 |
do-install: |
| 25 |
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin |
30 |
(cd ${WRKSRC} && ${INSTALL_PROGRAM} ${PORTNAME} ${PREFIX}/bin) |
| 26 |
@${MKDIR} ${PREFIX}/libdata/${PORTNAME} |
31 |
@${MKDIR} ${PREFIX}/libdata/${PORTNAME} |
| 27 |
${INSTALL_DATA} ${WRKSRC}/include/* ${PREFIX}/libdata/${PORTNAME} |
32 |
(cd ${WRKSRC}/include \ |
|
|
33 |
&& ${INSTALL_DATA} * ${PREFIX}/libdata/${PORTNAME}) |
| 28 |
.if !defined(NOPORTDOCS) |
34 |
.if !defined(NOPORTDOCS) |
| 29 |
@${MKDIR} ${DOCSDIR} |
35 |
@${MKDIR} ${DOCSDIR} |
| 30 |
${INSTALL_DATA} ${WRKSRC}/CONVERSION_C166.TXT ${WRKSRC}/MANUAL.TXT \ |
36 |
.for i in CONVERSION_C166.TXT MANUAL.TXT README*.TXT |
| 31 |
${WRKSRC}/README*.TXT ${DOCSDIR} |
37 |
(cd ${WRKSRC} && ${INSTALL_DATA} ${i} ${DOCSDIR}) |
|
|
38 |
.endfor |
| 32 |
.endif |
39 |
.endif |
| 33 |
.if !defined(NOPORTEXAMPLES) |
40 |
.if !defined(NOPORTEXAMPLES) |
| 34 |
@${MKDIR} ${EXAMPLESDIR} |
41 |
@${MKDIR} ${EXAMPLESDIR} |
| 35 |
${INSTALL_DATA} ${WRKSRC}/samples/* ${EXAMPLESDIR} |
42 |
(cd ${WRKSRC}/samples && ${INSTALL_DATA} * ${EXAMPLESDIR}) |
| 36 |
.endif |
43 |
.endif |
| 37 |
|
44 |
|
| 38 |
.include <bsd.port.mk> |
45 |
.include <bsd.port.mk> |