Makefile.template 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197
  1. # $OpenBSD: Makefile.template,v 1.76 2017/02/25 16:04:20 danj Exp $
  2. #
  3. # Replace ??? with appropriate values
  4. # Remove extraneous comments before commit
  5. # Use /usr/ports/infrastructure/bin/portcheck
  6. # Reasons why the port/package shouldn't be built
  7. #
  8. #ONLY_FOR_ARCHS = ???
  9. #NOT_FOR_ARCHS = ???
  10. #COMES_WITH = ???
  11. #BROKEN = reason
  12. #
  13. # Very short description of the package, 60 chars max
  14. # |----------------------------------------------------------|
  15. COMMENT = ???
  16. # COMMENT-foo = ??? for multi packages
  17. #
  18. # What port/package will be created
  19. #
  20. DISTNAME = ???
  21. #PKGNAME = ???
  22. #PKGNAME-foo = ??? for multi packages
  23. #
  24. # For github: traditional tarballs in /releases/download are normally
  25. # preferred if available; use them with DISTNAME/MASTER_SITES lines as
  26. # normal. For projects using auto-generated tarballs, set GH_ACCOUNT,
  27. # GH_PROJECT, and *one* of GH_TAGNAME or GH_COMMIT. For GH_COMMIT, also
  28. # set DISTNAME. For GH_TAGNAME, set DISTNAME if the default is no good.
  29. #
  30. #GH_ACCOUNT = username
  31. #GH_PROJECT = project
  32. #GH_TAGNAME = 1.0
  33. #GH_COMMIT = abab123456789abacafeabab123123b1e4ble4bl
  34. # for any port that creates shared libraries.
  35. # both libtool and cmake automatically set filenames based on this variable.
  36. # for libtool- or cmake-based ports, have a look at WRKBUILD/shared_libs.log
  37. #SHARED_LIBS = ???
  38. # the category used in the directory name, /usr/ports/<category>/portname,
  39. # must be included and listed first.
  40. CATEGORIES = ???
  41. #HOMEPAGE = ??? URL
  42. # person who is responsible for the port. Use a complete email address with
  43. # a real name, e.g., "MAINTAINER = John Doe <doe57@machine.somewhere.org>".
  44. # If you maintain several ports, use the same line each time.
  45. # If you no longer use the port, or are unwilling/unable to handle issues
  46. # in a timely manner, *leave the field blank*.
  47. # Default value is ports@openbsd.org, no need to fill in
  48. #MAINTAINER = ???
  49. # Licensing: This determines what we can distribute.
  50. # When you determine the license type, make sure to look at ALL distfiles.
  51. # Every distfile can have a different license. The PERMIT_* values are
  52. # determined by the most restrictive license. If you have two licenses
  53. # that are in conflict, set PERMIT_* based on the most restrictive one.
  54. # Make SURE you get these values right.
  55. # Put a comment there to state what's going on.
  56. # Can be as brief as `BSD' or `GPLv2+', but it'd better be easy to check,
  57. # if someone wants to double-check licensing.
  58. # For GPL, the applicable versions must be included (e.g. v2+, v2 only, v3+).
  59. # If all PERMIT_* are Yes, just setting 'PERMIT_PACKAGE_CDROM=Yes' is enough.
  60. #PERMIT_PACKAGE_CDROM = Yes | Reason if No
  61. #PERMIT_PACKAGE_FTP = Yes | Reason if No
  62. #PERMIT_DISTFILES_FTP = Yes | Reason if No
  63. # If pledge is used, annotate with `uses pledge()' in a comment
  64. # "make port-lib-depends-check" can help
  65. #WANTLIB = ???
  66. # where the source files and patches can be fetched
  67. #
  68. MASTER_SITES = ???
  69. #MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=subdir/}
  70. #MASTER_SITES = ${MASTER_SITE_foo:=subdir/}
  71. # if more master sites are needed...
  72. #MASTER_SITES0 =
  73. # ...
  74. #DISTFILES = ???
  75. #EXTRACT_ONLY = ???
  76. #EXTRACT_SUFX = .tar.bz2
  77. #DIST_SUBDIR = ???
  78. # PATCHFILES are also retrieved from MASTER_SITES*
  79. #PATCHFILES = ???
  80. #PATCH_DIST_STRIP = -p0
  81. # Dependencies
  82. #
  83. #MODULES = ???
  84. #BUILD_DEPENDS = ???
  85. #RUN_DEPENDS = ???
  86. #LIB_DEPENDS = ???
  87. #TEST_DEPENDS = ???
  88. #MAKE_FLAGS = ???
  89. #MAKE_ENV = ???
  90. #FAKE_FLAGS = ???
  91. #TEST_FLAGS = ???
  92. # build/configuration variables
  93. #
  94. #SEPARATE_BUILD = Yes (build in a directory other than WRKSRC)
  95. #SEPARATE_BUILD = flavored (distinct flavors may share a common WRKSRC)
  96. #USE_GMAKE = Yes
  97. #USE_GROFF = Yes
  98. # Programs that require GNU libtool to build instead of the OpenBSD one
  99. # should use this option. Add a comment explaining why. Don't use this if
  100. # a port requires libtool's .m4 files but otherwise can use OpenBSD libtool,
  101. # in that case use "BUILD_DEPENDS=devel/libtool" instead.
  102. #USE_LIBTOOL= gnu
  103. # Set CONFIGURE_STYLE to value corresponding to some standard configuration
  104. # perl [modbuild]: perl's MakeMaker Makefile.PL (modbuild: perl's
  105. # Module::Build Build.PL)
  106. # gnu [autoconf] [old] [dest]: gnu style configure (old: no
  107. # sysconfdir), (dest: add DESTDIR, does not handle it),
  108. # (autoconf: needed by port, implies gnu)
  109. # XXX: cygnus products do NOT use autoconf for making the main
  110. # configure from configure.in
  111. # imake [noman]: port uses imake for configuration.
  112. # (noman: no man page installation)
  113. # simple: port has its own configure script
  114. #CONFIGURE_STYLE =
  115. #CONFIGURE_SCRIPT = ??? (if other than configure)
  116. #CONFIGURE_ARGS = ???
  117. #CONFIGURE_ENV = ???
  118. # for gnu stuff
  119. #AUTOCONF_VERSION = ??? (defaults to 2.13)
  120. #AUTOMAKE_VERSION = ??? (defaults to 1.4)
  121. # config.guess and others are copied here
  122. #MODGNU_CONFIG_GUESS_DIRS = ??? (defaults to ${WRKSRC})
  123. # Is the build automagic or is it interactive
  124. #
  125. #IS_INTERACTIVE = Yes
  126. #TEST_IS_INTERACTIVE = Yes
  127. # Assume you have one multiple choice flavor: 1 2 3 and switches a b.
  128. # You would write
  129. #
  130. #FLAVORS = 1 2 3 a b
  131. #FLAVOR ?=
  132. # grab multiple choice value
  133. #CHOICE = ${FLAVOR:Na:Nb}
  134. # check that CHOICE is 1 OR 2 OR 3, or error out
  135. #.if ${CHOICE} == "1"
  136. # code for 1
  137. #.elif ${CHOICE} == "2"
  138. # code for 2
  139. #.elif ${CHOICE} == "3"
  140. # code for 3
  141. #.else
  142. #ERRORS += "Fatal: Conflicting flavor: ${FLAVOR}"
  143. #.endif
  144. # check for switches
  145. #.if ${FLAVOR:Ma}
  146. # code for a
  147. #.endif
  148. #.if ${FLAVOR:Mb}
  149. # code for b
  150. #.endif
  151. # Things that we don't want to do for this port/package
  152. # Generally, DON'T set anything to No if it's not needed.
  153. # The time gained is not worth it.
  154. #
  155. #NO_BUILD = Yes
  156. #NO_TEST = Yes
  157. # Overrides for default values
  158. #
  159. #CFLAGS = ???
  160. #LDFLAGS = ???
  161. #MAKE_FILE = ???
  162. #PKG_ARCH = ??? (* for arch-independent packages)
  163. #WRKDIST = ??? if other than ${WRKDIR}/${DISTNAME}
  164. #WRKSRC = ??? if other than ${WRKDIST}
  165. #WRKBUILD = ??? if other than ${WRKSRC}
  166. #WRKCONF = ??? if other than ${WRKBUILD}
  167. #ALL_TARGET = ???
  168. #INSTALL_TARGET = ???
  169. #TEST_TARGET = ???
  170. .include <bsd.port.mk>