mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-03 01:23:49 +00:00
a46eeddde6
- Set PORTEPOCH as version went backward Note that in previous version the PORTVERSION is set to 12 which is actually 1.2 according to the maintainer. PR: ports/132141 Submitted by: Alex Keda <admin at lissyara.su> (maintainer)
53 lines
1.2 KiB
Makefile
53 lines
1.2 KiB
Makefile
# New ports collection makefile for: SkyStar2
|
|
# Date created: 15 November 2007
|
|
# Whom: Alex Keda <admin@lissyara.su>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= skystar2
|
|
PORTVERSION= 1.31
|
|
PORTEPOCH= 1
|
|
CATEGORIES= net
|
|
MASTER_SITES= http://paradox.lissyara.su/ \
|
|
http://lissyara.su/patch/skystar2/
|
|
DISTNAME= ${PORTNAME}_${PORTVERSION:S/.//}
|
|
|
|
MAINTAINER= admin@lissyara.su
|
|
COMMENT= Kernel module and program for SkyStar2, ver. ${PORTVERSION}
|
|
|
|
USE_BZIP2= yes
|
|
SYSDIR?= ${SRC_BASE}/sys
|
|
KMODDIR= /boot/modules
|
|
PLIST_SUB+= KMODDIR=${KMODDIR}
|
|
PORTDOCS= readme
|
|
|
|
pre-fetch:
|
|
.if !exists(${SYSDIR}/Makefile)
|
|
@${ECHO} "*************************************************"; \
|
|
${ECHO} "This port requires the kernel source be available"; \
|
|
${ECHO} "*************************************************"; \
|
|
exit 1
|
|
.endif
|
|
|
|
pre-install:
|
|
${INSTALL} -d ${KMODDIR}
|
|
|
|
post-install:
|
|
@${INSTALL_DATA} ${WRKSRC}/etc/channels.conf.dist ${PREFIX}/etc/
|
|
@${CAT} ${PKGMESSAGE}
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${DOCSDIR}
|
|
.for i in ${PORTDOCS}
|
|
${INSTALL_MAN} ${WRKSRC}/${i} ${DOCSDIR}
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${ARCH} == "sparc64"
|
|
BROKEN= Does not compile on sparc64
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|