blob: ed1add14171f43869eac72f4c0456919f28d8e3e (
plain) (
blame)
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
|
# New ports collection makefile for: sp
# Version required: 1.2.1
# Date created: April 26, 1997
# Whom: jfieber
#
# $Id: Makefile,v 1.9 1999/06/02 21:38:29 chuckr Exp $
#
DISTNAME= sp-1.3
CATEGORIES= textproc
MASTER_SITES= ftp://ftp.jclark.com/pub/sp/
MAINTAINER= chuckr@FreeBSD.ORG
post-patch:
$(CP) $(WRKSRC)/Makefile $(WRKSRC)/Makefile.sed
$(CP) $(WRKSRC)/Makefile.lib $(WRKSRC)/Makefile.lib.sed
$(SED) -e "s%/opt/local%$(PREFIX)%" <$(WRKSRC)/Makefile.sed >$(WRKSRC)/Makefile
$(SED) -e "s%/opt/local%$(PREFIX)%" <$(WRKSRC)/Makefile.lib.sed >$(WRKSRC)/Makefile.lib
post-install:
$(MKDIR) $(PREFIX)/include/sp
$(MKDIR) $(PREFIX)/share/doc/sp
for file in $(WRKSRC)/include/*;do $(INSTALL_DATA) $$file $(PREFIX)/include/sp;done
for file in $(WRKSRC)/doc/*;do $(INSTALL_DATA) $$file $(PREFIX)/share/doc/sp;done
.include <bsd.port.mk>
|