blob: d8977ff2b0757d4c97c8d86e868571173dab9a59 (
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
28
29
30
31
32
33
34
35
|
# ex:ts=8
# New ports collection makefile for: cryptoslam
# Date created: Nov 25, 2001
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= cryptoslam
PORTVERSION= 1.1
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= A curses-based tool for creating and solving the cryptograms
PLIST_FILES= bin/cryptoslam
USE_REINPLACE= yes
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 400010
LIB_DEPENDS+= ncurses.5:${PORTSDIR}/devel/ncurses
CFLAGS+= -nostdinc -I${LOCALBASE}/include/ncurses \
-I${LOCALBASE}/include -I/usr/include
.endif
post-patch:
@${REINPLACE_CMD} -e "s,^CFLAGS,#CFLAGS,g" ${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/cryptoslam ${PREFIX}/bin
.include <bsd.port.post.mk>
|