Browse code

- Makefile fix for freebsd >=5.1 (5.1 doesn't like pkg-comment, wants COMMENT defined instead)

Andrei Pelinescu-Onciul authored on 20/11/2003 12:47:06
Showing 1 changed files
... ...
@@ -15,6 +15,14 @@ MASTER_SITES= ftp://ftp.berlios.de/pub/ser/0.8.12/src/
15 15
 
16 16
 MAINTAINER= pelinescu-onciul@fokus.fraunhofer.de
17 17
 
18
+.include <bsd.port.pre.mk>
19
+
20
+.if ${OSVERSION} >= 501000
21
+# FreeBSD 5.1 wants COMMENT and it doesn't like pkg-comment
22
+COMMENT= Sip Express Router, very fast and configurable SIP proxy
23
+COMMENTFILE= 
24
+.endif
25
+
18 26
 MAN8=ser.8
19 27
 MAN5=ser.cfg.5
20 28
 MANCOMPRESSED= no
... ...
@@ -40,6 +48,6 @@ LIB_DEPENDS=   expat:${PORTSDIR}/textproc/expat* \
40 40
 pre-fetch:
41 41
 
42 42
 
43
-.include <bsd.port.mk>
43
+.include <bsd.port.post.mk>
44 44
 
45 45