60d1a83c2a
- Replace ${MASTER_SITE_FOO} with FOO. - Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9% of the time.) - Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and no hint of what it should be was present. - Fix some logic. - And generally, make things more simple and easy to understand. While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and SAMBA macros. Also, replace some EXTRACT_SUFX occurences with USES=tar:*. Checked by: make fetch-urlall-list With hat: portmgr Sponsored by: Absolight
28 lines
508 B
Makefile
28 lines
508 B
Makefile
# Created by: sec@42.org
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= sls
|
|
PORTVERSION= 1.00
|
|
CATEGORIES= misc
|
|
MASTER_SITES= LOCAL/dannyboy
|
|
DISTNAME= ${PORTNAME}
|
|
|
|
MAINTAINER= sec@42.org
|
|
COMMENT= List information about file(s) and directories
|
|
|
|
WRKSRC= ${WRKDIR}/sls
|
|
|
|
PLIST_FILES= bin/sls \
|
|
man/man1/sls.1.gz
|
|
|
|
ALL_TARGET= sls
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|CFLAGS|#&|' ${WRKSRC}/Makefile
|
|
|
|
do-install:
|
|
${CP} ${WRKSRC}/sls ${STAGEDIR}${PREFIX}/bin
|
|
${CP} ${WRKSRC}/sls.1 ${STAGEDIR}${PREFIX}/man/man1
|
|
|
|
.include <bsd.port.mk>
|